PopupControlExtender slow going on large page

Last post 09-17-2008 11:05 AM by Madhoo. 4 replies.

Sort Posts:

  • PopupControlExtender slow going on large page

    08-29-2006, 6:29 PM
    • Member
      163 point Member
    • NXTwoThou
    • Member since 04-28-2006, 5:31 PM
    • Tulsa, OK
    • Posts 64

    I've got a log page with start/end date with a load data button and a datagrid that contains the contents.  The start/end dates both have PopupControlExtenders to make selecting the dates all nice and fancy, but I'm running into a problem when my grid becomes large, returning from selecting a date takes forever.  I've tried setting the updatepanel to mode="conditional", but the only value I can think to give to Triggers is the calendar controls selectedchanged event, which doesn't help anything. 

    I looked back again at the sample and was trying to figure out why it was so fast and mine was so slow(clicking on the textbox brings up the calendar in less than a second, clicking on a date takes 10-15 seconds to close the calendar and display the date in the textbox).  I then appended an extra meg of text at the bottom of the Popupcontrol.aspx samplewebsite page and was able to reproduce my same results(instant popup, super-slow insertion of the value, even though the whole page doesn't refresh).

    I would understand if I saw the page refresh(as everything is being sent back to the client), but it doesn't appear to be as the only refreshing on my screen is for the panel and the textbox(after the long delay).  Its easy to duplicate, download the latest source code, dump a meg or two down at the bottom of \samplewebsite\popupcontrol\popupcontrol.aspx with random junk, load up, click the date text box, then select a day.  It takes just as long for it to fill in the date as it did to originally load the page. 

     Should I wrap the whole from date in another update panel?  If so, what are the EventNames for the PopupControlExtender?

  • Re: PopupControlExtender slow going on large page

    08-30-2006, 4:43 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-11-2006, 1:39 AM
    • Microsoft
    • Posts 1,842
    I think this may be a performance issue with IE6 rather than a Toolkit issue. I tried your suggestion above about adding a bunch of text to the PopupControl sample page. Initial load was slow in IE6 as was picking a date. However, while initial load was slow in Firefox, picking a date was fast. And using Firebug to look at the network traffic for the UpdatePanel postback that happens as part of the date selection shows that it's quite small and NOT related to the amount of data in the surrounding page. Therefore, I think this may just be a rendering slowness in IE6?

    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: PopupControlExtender slow going on large page

    08-30-2006, 4:50 PM
    • Member
      163 point Member
    • NXTwoThou
    • Member since 04-28-2006, 5:31 PM
    • Tulsa, OK
    • Posts 64
    I was actually using IE7 RC1 to test with..
  • Re: PopupControlExtender slow going on large page

    01-04-2007, 11:59 AM
    • Member
      2 point Member
    • mjadams
    • Member since 11-22-2006, 7:32 PM
    • Posts 1

    Try putting the result grid in a separate update panel.  Then make the grids update panel conditional and create a trigger on the "Load Data" button click event.

    The calendar becomes slow because it is trying to update the whole page instead of just the calendars updatepanel.

     

  • Re: PopupControlExtender slow going on large page

    09-17-2008, 11:05 AM
    • Member
      2 point Member
    • Madhoo
    • Member since 08-20-2002, 9:14 AM
    • Boston
    • Posts 1

    Hi, I have the same problem. Did you find a solution to this problem. I know its too long, but can you let me know what you did to fix this? Please help.

Page 1 of 1 (5 items)