Monday, June 23, 2008

Internet Explorer 8.0 Beta release

IE 8 Beta is out with new features like activities and web slices. Apparently developer tools are integrated in the new explorer. There is a also a way to emulate IE7 with IE8 which was something really missing in IE 7.

I think IE 7.0 was already a step forward by Miscrosoft making it much more stable. Lets hope that the new version will be even better.

Web slices is surely a feature that I would be looking forward to test.

Site Link

Friday, June 20, 2008

Accessing ScriptManager

Apparently we can have only one script manager in a page so the normal practice is to add it in a Master page to be accessed by all pages. Sometimes you need to access the script manager in the code for example to register a button for an asynchronous call etc. It could be easily done by using the following method.

ScriptManager.GetCurrent(this.Page);


An example to register a control for an asynchronous call from a user control.

ScriptManager.GetCurrent(this.Page).RegisterAsyncPostBackControl(btnUpdate);