D
David C
I spent the last four hours trying to figure out why Page_Load would
execute twice. Even stranger was that everything within if (!
IsPostBack){....} executed twice as well. There is no rhyme or reason
for that.
Here is what I found out.
When you have an ImageButton with no ImageURL set, it will always do
that. This was not the case with .NET 1.0. So if you need to
experiment with ImageButton, set something to the ImageUrl
attribute.
This has to be a bug, but who knows.
3:55 AM. Good night and Death to Microsoft.
execute twice. Even stranger was that everything within if (!
IsPostBack){....} executed twice as well. There is no rhyme or reason
for that.
Here is what I found out.
When you have an ImageButton with no ImageURL set, it will always do
that. This was not the case with .NET 1.0. So if you need to
experiment with ImageButton, set something to the ImageUrl
attribute.
This has to be a bug, but who knows.
3:55 AM. Good night and Death to Microsoft.