I have a <asp:Wizard> that is only applicable for a logged-out user. If the user is currently logged in, he/she is redirected to another page. On one of the wizard steps, as part of the wizard, I ask for credentials via the <asp:Login> control and log in the user. This presents a problem.
According to MSDN: "When a user uses the Login c...
I am working with a page that has a series of checkboxes that at least one box must be checked.
The validator fires when I click the submit button and if no checkboxes are checked indicates the validation has failed. However If I check one of the checkboxes the validation message does not go away until I click the submit button again. ...
I have a handler, like this, using IRequiresSessionState:
public class MyHandler : IHttpHandler, IRequiresSessionState
{
// code
}
In the code, I am able to read and set Session values. I also check ensure that the caller is logged in. That all works fine.
The web site uses forms authentication, so in the web.config, I have this:
...
Old hand at ASP.NET, new to the UpdatePanel. I have a reporting page which executes a fairly length SQL query... takes about 10 seconds right now. What I would like to do is have my page fully render, with some placeholder text (Loading...) and then have the UpdatePanel kick off the actual time-consuming reporting process and render th...
My site (ASP.NET + C#) has FAQ data pull from another site's web service in XML format. The data size is pretty small (just about 50 faqs). I want to implement a keyword search for the FAQ and highlight the search keyword. What could be a fast and easy approach to do this?
My first thought is just using a C# string search or any XML sea...
I am working on a ASP.NET MVC 2.0 Multi-Presentation web application which would use a common codebase to support different websites. These websites would differ in following aspects:
Each website will have their own headers, footers, images, CSS etc (I guess website specific Master Pages)
Some of the UI elements could be different bas...
I have a scenario where...
1.) Have created a div with a dropdown list and ok, cancel button
2.) On document ready - registering div created on step 1 into a jQuery dialog
3.) on a javascript button click - I am opening this dialog box.
4.) Now, the problem is - the jQuery dialogbox which I have created, needs to be used by other button...
We have just finished delivering a (large-ish) Asp.Net 3.5 Web Application project which uses MySQL as the database.
We have used the MySQL Membership Provider along with SubSonic 2.2 to finish the project in.
However, now the client wants a Forum to go along with the website - such that when a user signs up into our site, an ID is als...
I'm building an ASP.NET MVC site where I want to use OpenSTV to conduct polls. To run results through OpenSTV, I'd have to run the executable. Is that allowed from a medium-trust ASP.NET application?
...
When i access any page on my site i am greeted by the error below.
I wonder what happened so i checked my mysql file and i see some of my tables created by not all. i looked in my table creation code and it is inside a transaction so i am confused. I write quick code to dump the stack via Application_Error and it doesnt catch that error ...
I just want to know the declaration of variables in a separate class file or declaring in the same aspx.cs file.Please any tell me the best practise of declaring the variables.
Thanks in advance
...
Hi, I want to calculate the current time differences between US/Central timezone and British Summer Time. I mean, currently these both timezones have daylight savings going on, so they have a 6 hours time difference. But after Sunday October 31 2010, daylight savings will be off for British summer time, at which moment there will be a 5 ...
I am building a web application.
Here's what I do.
Set the solution Configuration Manager to Release.
Thus all projects are building the Release version.
Then I clean the solution and build all.
Then I "Build Deployment Package".
When running the installed code from the deployment package I notice when there is a bug in the compiled so...
i am displaying time in the label which is inside the grid view. i need to Refresh the label every second. how to do this by Java script.Like Ajax timer.
EDIT:
OnLoad="setTimeout(window.location.reload();. 1000);" whats wrong with this code or <asp:Label ID="Label2" Width="100px" runat="server" OnLoad="setTimeout(window.location.reload...
I have a set of actions in a database, such as Add User, Edit User, Import Users, Send Invitation, etc. I have attached these permissions to roles. Then I attached these roles to users.
Is there a good pattern or API I can create for using this? I do not want to put a bunch of if/else statements in the code to check for permissions. So ...
Hi,
I am using Infragistics Ultralistview to display data in List which contains 3 columns and 4-5 rows(that could be upto 'n' rows depending upon data added). When i hover over the row for 2 seconds, i want that other information about that row should be displayed in a panel like control. How to do that?
Let me know if anything else i...
What are the Freenode irc channels for Java, J2EE, C#, asp.net and SOA?
Thanks in advance..:)
...
I am a newbie in asp.net. I am trying to load the text and the URL into hyperlink from a database. After debugging, I found out that the value is successfully loaded into the hyperlink control, however it doesn't shows at the html code? Does anyone knows how this happened? Sorry for my bad English.
If myReader2.Read Then...
Is it true that asp.net MVC doesn't use SESSIONS [Sessions varibale] and hence there it's performance is better than asp.net webform.
if this is not the case then why the speed of asp.net MVC is faster than asp.net webform?
...
I am trying to understand the ASP.NET WebForms and MVC from the point of view of understanding the design patterns used.
While MVC clearly looks like an implementation of FrontController, I am not very sure about WebForms pages. So, I would appreciate if anyone can help with the following questions around this.
Is WebForms based on a ...