Programming, Web News, Web Hostings, Technology
ervinter
This user hasn't shared any biographical information
Posts by ervinter
Fight With Broga Hill
Aug 1st
Visit to Royal Selangor Factory
Aug 1st
Lang Tengah Trip 2010
Jun 1st
End of May 2010, I went to Lang Tengah Island together with my wife and a bunch of my colleagues from Manulife.
I am enjoying snorkeling. I like the clean and beautiful beach over there especially when I see a lot of fish there.

Very long bridge. You can see a lot of fish around the bridge.
They like snorkeling too.
Foot steps leaving great memories during this trip.
This is a beautiful bridge photo I taken.
Tips: ASP.NET Webform Postback Twice
Mar 20th
If your ASP.NET webform is postback twice, then you are coming to right place to get the solution.
ImageButton
Do remember to always set your ImageButton with ImageUrl. If the property of ImageUrl is blank, then it will postback twice for attend to get the value.
AutoEventWiredUp
If you think you are not using any ImageButton and your webform is triggering postback twice, most probably is due to the AutoEventWiredUp attribute. In VB.NET, whenever you add new webform, this property will auto set to False, while in C#.NET, whenever you add new webform, this property will auto set to True. Therefore, if you are developing ASP.NET application using VB.NET then you are safe. My advice for C#.NET web developer is to always set this AutoEventWiredUp to False and manually code the handler for any of Events.
Else…
If you are still facing this postback twice problem which are not due to ImageButton and AutoEventWiredUp, then probably you have to search around Google and you might found the solution.

































