C
Cynic07
Hi, I hope someone could help me with this problem...
First, the context :
IIS : v5.1
Framework : v1.1
Language : C#
I have a main page (default.aspx) which is my server default page.
That I open http://localhost/MainProject/ or
http://localhost/MainProject/default.aspx, I have the
Application_BeginRequest fired 2 times... so the Default.Page_Load()
method occures 2 times too.
When I click any link button in my page, the Click event only occurs
the first time.
When I noticed this problem, I made a test.aspx so see if this page
does the same thing and NO. This one is only fireing
Application_BeginRequest one time.
Here are tests I tried :
- First I wrote a method : WriteDebug(string event) that writes "time
+ event + context id" to a file
I call this method on overridden OnInit() and CreateChildControl()
methods, on Page_Load() and Pre_Render() methods that are registered
to Load and PreRender System.Web.UI.Page EventHandlers.
- Second I change the default.aspx to test2.aspx and the problem is
still there.
Does anyone have encountered that problem before?
Anybody have a suggestion for me?
First, the context :
IIS : v5.1
Framework : v1.1
Language : C#
I have a main page (default.aspx) which is my server default page.
That I open http://localhost/MainProject/ or
http://localhost/MainProject/default.aspx, I have the
Application_BeginRequest fired 2 times... so the Default.Page_Load()
method occures 2 times too.
When I click any link button in my page, the Click event only occurs
the first time.
When I noticed this problem, I made a test.aspx so see if this page
does the same thing and NO. This one is only fireing
Application_BeginRequest one time.
Here are tests I tried :
- First I wrote a method : WriteDebug(string event) that writes "time
+ event + context id" to a file
I call this method on overridden OnInit() and CreateChildControl()
methods, on Page_Load() and Pre_Render() methods that are registered
to Load and PreRender System.Web.UI.Page EventHandlers.
- Second I change the default.aspx to test2.aspx and the problem is
still there.
Does anyone have encountered that problem before?
Anybody have a suggestion for me?