locked
Help Over Application Design RRS feed

  • Question

  • User-2119249576 posted

    Hello Gurus!

    I need some help over redesigning Dashboard. It is displaying different user controls, displaying some charts, grids and more information.

    Some of these controls are taking time to load (DB query take some time), that's why whole page take enormous time.

    Each control has two portions, header and content.

    I wana display skelton of page displaying all user controls with title and contents of only those user controls taking small time. but dispaly some processing image in contents of user controls taking much time and update contents of control as soon as server processing of individual control completes.

    Please provide your valuable feedback over it.

    Thanks,



    Tuesday, February 23, 2010 2:19 AM

Answers

  • User-952121411 posted

    One simple way to accomplish this is to remove most of the controls from being populated or bound in the Page_Load() event, and rather use something like an AJAX Timer to fire off .01 seconds after the Page completes loading.  Then you have the effect of a 'Skeleton' page, and can use partial page postbacks to bind the charts and controls seamlessly and with better flow than one massive page.  In fact you could use 1 timer for each control, and fire the next timer off each time a control reaches its "_DataBound" event.  The point is there are options to have the basic page load quickly, and then subsequent controls load individually thereafter.

    Here are some links that may help you with this:

    [How Do I:] Implement Dynamic Partial-Page Updates with ASP.NET AJAX?

    http://www.asp.net/learn/ajax-videos/video-78.aspx

    [How Do I:] Use the ASP.NET AJAX Timer Control?

    http://www.asp.net/learn/ajax-videos/video-99.aspx

    Also, a very nice set of free 3D charts are offered by Microsoft; you can take a look at them here:

    Microsoft Chart Controls for .NET Framework 3.5:

    http://blogs.msdn.com/seanboon/archive/2008/10/25/microsoft-chart-controls-for-net-framework-3-5-released.aspx

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 23, 2010 10:14 AM

All replies

  • Tuesday, February 23, 2010 3:36 AM
  • User-952121411 posted

    One simple way to accomplish this is to remove most of the controls from being populated or bound in the Page_Load() event, and rather use something like an AJAX Timer to fire off .01 seconds after the Page completes loading.  Then you have the effect of a 'Skeleton' page, and can use partial page postbacks to bind the charts and controls seamlessly and with better flow than one massive page.  In fact you could use 1 timer for each control, and fire the next timer off each time a control reaches its "_DataBound" event.  The point is there are options to have the basic page load quickly, and then subsequent controls load individually thereafter.

    Here are some links that may help you with this:

    [How Do I:] Implement Dynamic Partial-Page Updates with ASP.NET AJAX?

    http://www.asp.net/learn/ajax-videos/video-78.aspx

    [How Do I:] Use the ASP.NET AJAX Timer Control?

    http://www.asp.net/learn/ajax-videos/video-99.aspx

    Also, a very nice set of free 3D charts are offered by Microsoft; you can take a look at them here:

    Microsoft Chart Controls for .NET Framework 3.5:

    http://blogs.msdn.com/seanboon/archive/2008/10/25/microsoft-chart-controls-for-net-framework-3-5-released.aspx

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 23, 2010 10:14 AM
  • User-37275327 posted

    You better concentrate on AJAX, DHTML Windows, Update Panels and their usage.


    Thursday, February 25, 2010 6:20 AM
  • User-2119249576 posted

    I had solved it by using Web Service and calling Web Service method asynchronously.

    Tuesday, June 1, 2010 3:56 AM