I have a Repeater with a Button inside the ItemTemplate. I added the CommandName property to the button and registered and event handler for the ItemCommand event on the Repeater.
My problem is that when I click the button, I get an ArgumentException with a message saying something about EnableEventValidation being set to true.
(By the...
Hi,
I would like to know if a postback (asp.net) is considered as a pageview by google ads or CPM ads or it is ignored.
How does google ads differentiate between a postback and a pageview? Any inputs will be highly appreciated.
Thanks
...
I've set up an ASP.NET 2.0 web app in VS 2008 (it's 2.0 as it contains some legacy code) and I'm now trying to deploy it to my new VPS.
I've created the domain in Plesk and set up the FTP account. I can FTP the server using the command line and all works well, however, if I try to use the "copy website" option in VS 2008 I get "The ~/ d...
I'm trying to solve the problem of passing a 2-dimensional table into JavaScript AJAX application through SOAP web services. I'm trying to pass data into JavaScript web page through ASP.NET web service declared with following attributes:
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptServ...
I recently deployed my ASP.NET 3.5 application to my test server, a newly installed copy of Windows Server 2003 Standard on which is IIS 6.0 and .NET 3.5 SP1. When I view the application (even from a web browser on the server) I get:
Server Error in '/' Application.
Runtime Error
Description: An
application error occurred...
Is there a way to make a progress bar like that in gmail in ASP.net
...
Smashed my head against this a bit too long. How do I prevent a user from browsing a site's pages after they have been logged out using FormsAuthentication.SignOut? I would expect this to do it:
FormsAuthentication.SignOut();
Session.Abandon();
FormsAuthentication.RedirectToLoginPage();
But it doesn't. If I type in a URL directly, I c...
What are the practical uses of resx file?
I am using .net 1.1.
...
In ASP.Net the default Session Timeout is set to 20 minutes. Why so? Is there any specific reason behind it?
Thanking you.
...
what is an invalid request in HTTP.sys?
...
I would like to build an application that will run on a web, this is for an enterprise solution, but I don't know what kind of framework that I'll be using, does anyone out there could recommend a framework that is best suited in .NET/ASP.NET application that could handle DAL, BLL and GUI, other than CSLA.NET?
...
I created 2 pages: page1.aspx and page2.aspx. I defined 5 fileuploader controls in page 2 but I want to save Page1.aspx on save button.
Actually, the page contains a Back Button in which I store all Uploading file in a string object and it populate on Page1.aspx as a session.
How can I save a file on server?
...
I am using:
[ajax.ajaxmethod()]
public void fnName()
containing:
response.redirect("sample.aspx");
or:
server.transfer("sample.aspx");
both are not working... what is the solution?
in that block, I tried to call javascript function as
scriptmanager.registerstartupscript(page,gettype(),"sample","javascriptfunction()",true);...
Hi All
I'm going to generate an asp:CheckBoxList using this code
<%
System.Collections.Generic.List<QuizzEngine.Common.Question> qList = (System.Collections.Generic.List<QuizzEngine.Common.Question>)Session[QuizzEngine.Common.SessionKeys.QuesionsList];
int navigator = (int)Session[QuizzEngine.Common.SessionKeys.Navigator];
if (**Tru...
I'm confused with WCF and other web services (such as asp.net ASMX,.net Remoting),can anybody tell me what is difference with WCF and the others and when should I use it, thanks!
...
I am asking about the best tool that you used before to convert a c# windows forms application into asp.net?
I already googled about this topic and found alot of tools but I want someone to recommend the best one based on his usage.
...
I'm working on a project where a central class (the subject), will contain alot of data. There will be an aspx page that displays this data, using .net ajax. When the subject is updated from any page, I want all the open pages to update. I will be using the observer pattern for this. THe question is, do I make the actual aspx page the ob...
My application needs to be designed so that an administrator can, via a web interface select if their users login via windows authentication or forms authentication.
This means I cant specify the authentication mode in the web.config i.e.:
<system.web>
<authentication mode="Windows"/>
</system.web>
How do I approach this?
...
I have an authentication webservice which I pass a username and password to. This returns a bespoke credentials object to the requesting application. This credentials object is then used throughout the application (its passed to other service methods).
public Credentials login (string username, string password) {
}
I have been asked t...
If you cache data from your database in ASP.NET Session then you will speed up subsequent requests for that data (note: depending on the serialization/deserialization cost of the data concerned), at the expense of memory load in IIS.
(OK, this is probably a simplification of the reality of the situaiton - feel free to correct or refine ...