Tips: ASP.NET Webform Postback Twice

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.

Tags:

Happy Chinese New Year 2010

Here I wish everybody have a very good year ahead on 2010.

Posted via email from Ervin Ter

Fried Mihun

Today is federal holiday for Wilayah Persekutuan, Malaysia. Unfortunately, my wife is working in Petaling Jaya and she have work today. As I have no car to travel out (my car was drive by my wife to her office), I cock friend mihun myself. End up the taste is not bad and maybe next time i can improve my cocking skill.

Posted via email from Ervin Ter’s posterous

Tags:

Server Upgraded – ErvinTer Blog

Sorry for recently emergency blog failure to boot up. As my server is under maintenance. No worry, everything is working fine now.

Posted via email from Ervin Ter’s posterous

Here is my google chrome extension

Chromed Bird

Twitter client

Delicious Tools
My favourite bookmarking tool

Google Voice
I use this to get to know my inbox of google voice

Google Wave Notifier
I use this to get notification when there is an activity in my google wave

Webpage Screenshot
I use this to capture whole webpage into a single png format

Posted via email from Ervin Ter’s posterous

Tags:

Firebug 1.5 Release Notes – FirebugWiki

DOM

  • Break on Object Change


Net

Recently I get to know firebug come out 1.5 release and I took some time to read about what’s new feature in this release. I found it has been improve the accurate timing using Network Activity Observer which is good to trace the performance of ajax communication between client and server. Besides that, there is Xml Response Explorer which allow you to browse through the xml node instead of copy to xml editor to format it into readable xml format.

If you are developer, I am sure you must be enjoy using firebug. If no, start use it today.

Posted via web from Ervin Ter’s posterous

Windows 7 GodMode

There is a trick in Windows7 that enable you to quick administrate almost 52 sections to configure your computer.

1. Go to your desktop and create a folder.
2. Rename it to "GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}"
3. Double click go into this new folder and you able to see a lot of configuration settings over there.

Just upgrade your windows to latest windows &

Posted via email from Ervin Ter’s posterous

My Latest Photo

Recently my company required each of us taking photo. This is one of my photo. I feel nice with bokeh.

Posted via email from Ervin Ter’s posterous