Question : ASP.NET: Events don´t fire in IE7

Hello,

We have the following problem:

We have an ASP.NET 1.1 web application, written in C#.
It works fine when using Opera 9.x, FireFox and Internet Explorer 6.
However, when using Internet Explorer 7, none of the Buttons fire their respective events.

It does not seem to be a problem in the code, I transferred one of the pages to another application on the same server, it works there, even in IE7.
I also created a "dummy" page, with just a submit button (see code below), even that does not work in IE7.

After searching the web for a while i came upon the suggestion to use aspnet_regiis.exe to fix the script mappings for the application. Here is the result:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis -s W3SVC/1/ROOT/ourapplication
Start registering ASP.NET scriptmap (1.1.4322.0) recursively at W3SVC/1/ROOT/ourapplication.
Finished registering ASP.NET scriptmap (1.1.4322.0) recursively at W3SVC/1/ROOT/ourapplication.

This also did not fix our problem.
I hope someone can help us here.

Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
protected System.Web.UI.WebControls.Button Button1;
	
private void Page_Load(object sender, System.EventArgs e)
{
     // Put user code to initialize the page here
}
 
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
	//
	// CODEGEN: This call is required by the ASP.NET Web Form Designer.
	//
	InitializeComponent();
	base.OnInit(e);
}
		
/// 
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// 
private void InitializeComponent()
{    
	this.Button1.Click += new System.EventHandler(this.Button1_Click);
	this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
 
private void Button1_Click(object sender, System.EventArgs e)
{
	Response.Write("Event fired. Success!");
}
Open in New Window Select All

Answer : ASP.NET: Events don´t fire in IE7

Random Solutions  
 
programming4us programming4us