Blogger Widgets
  • Sharing Photos using SignalR
  • TFS Extenstion - allows copy work items between projects
  • Displaying jquery progressbar with ajax call on a modal dialog
  • Managing windows services of a server via a website
  • Exploring technologies available to date. TechCipher is one place that any professional would like to visit, either to get an overview or to have better understanding.

Search This Blog

Monday 9 July 2012

Display loading panel while page loads

Recently I started using DevExpress controls and am quite suppressed at how easy they are to be used. On one occasion the requirement was to show a loading text/gif until processing is completed on the server.
Here is how this can be achieved.

1. First place a "ASPxLoadingPanel" to show loading text
        
          

2. Add "ASPxCallbackPanel"

  
    
        
    
  
  


3. Add script block to show loading panel and send request for server side processing
 

4. Add server side processing code
protected void callbackPanel_Callback(object sender, CallbackEventArgsBase e)
{
}

That's it all done.

Do you realize if it weren't for Edison we'd be watching TV by candlelight? ~Al Boliska

1 comments:

Copyright © 2013 Template Doctor . Designed by Malith Madushanka - Cool Blogger Tutorials | Code by CBT | Images by by HQ Wallpapers