While refreshing the AJAX skill today I wrote a simple code to display please wait message while asynchronous postback. I added one Update Panel, one Update Progress panel and a button control and registered button as Asynchronous Postback Trigger control. I assign my UpdatePanel’s id as AssociatedUpdatePanelID to UpdateProgress panel. I ran the code [...]
Archive for August, 2009
AJAX UpdatePanel and UpdateProgress to show please wait
Posted in DotNet 2.0, DotNet 3.0, Javascript, Techincal on August 20, 2009 | Leave a Comment »
Context.RewritePath and Images
Posted in DotNet 2.0, DotNet 3.0, Techincal on August 19, 2009 | 1 Comment »
I was reading articles on URL Rewriting in ASP.NET and I found the most common way suggested is to use Context.RewritePath either in global.asax file or in HttpHandler with Application_BeginRequest method. The most common found code is Context.RewritePath(NewURL). When you the application you find it works like a charm and yes it does so!!!!. [...]
How to detect page is loaded
Posted in DotNet 2.0, DotNet 3.0, Javascript, Techincal on August 12, 2009 | Leave a Comment »
Sometime we need to find when the page is loaded or page is completely loaded before specific java script function is called. As we all know if try to access DOM element using document.getElementBtId() before page is loaded or page is completely loaded we get error. So to prevent the error we can user [...]
How to set multiple default button in ASP.NET
Posted in Techincal on August 11, 2009 | 2 Comments »
In my previous post I mentioned the one way to set default button in ASP.NET. There are few other methods also. One of them is to use asp panel and set its DefaultButton property. When we need to set multiple default buttons on single page we can do it by using asp panels. Lets [...]