R
Ryan Folstad
I've seen a few posts from people wondering why OnInit fires multiple times
for one web form. I finally figured it out for my situation.
I tested this on both .net 1.1 and 1.0 both were able to reproduce.
Create a new c# web app. in WebApp1.aspx add the following html:
<table><tr><td background="#000000"></td></tr></table>
Place a Break in the Web designer generated OnInit.
Hit run..
OnInit will fire twice..
remove the background="#000000" and it will only fire once..
serious bug.. as the second time it fires the context is lost and the
request seems to be lost aswell..
Brilliant!
How would i go about reporting this to ms or getting a fix without using up
one of my msdn incidents?
R
for one web form. I finally figured it out for my situation.
I tested this on both .net 1.1 and 1.0 both were able to reproduce.
Create a new c# web app. in WebApp1.aspx add the following html:
<table><tr><td background="#000000"></td></tr></table>
Place a Break in the Web designer generated OnInit.
Hit run..
OnInit will fire twice..
remove the background="#000000" and it will only fire once..
serious bug.. as the second time it fires the context is lost and the
request seems to be lost aswell..
Brilliant!
How would i go about reporting this to ms or getting a fix without using up
one of my msdn incidents?
R