This is probably not about the WHDG really but im hoping for some inspiration.
I have a reasonable complex page, its a web content form but there isnt much on the master page, mainly for the menu and a few other little things like a message area.
On the content form I have one update panel for header information which contains a few text fields and some date pickers etc. Underneath this are two WHDG's located each in its own td in a table row for positioning.
In the header update panel I have some buttons like save and edit etc for the header info. The problem I am having is that it seems to take anything from 2-8 seconds to start postback when I first load the page if I dont expand the grids it happens in about 2 seconds, once the grids are all expaned this increases to 8 or more seconds before the screen grays out etc. Once the postback starts its all over in about a second and a half.
I knows its difficult without the code, but there is simply too much linked stuff to post a working copy. I was hoping someone might have some inspiration. I have tried to isolate the issue but bar removing almost everything nothing seems to make a difference.
Cheers
Hi,
I'll give a shot at inspiration:)
I would bet that your page size is really big. When you expand the WHDG, all that data is now on your page and the postback will be even bigger. When you have the page open right click and save the source of the page to a file. Compare the sizes when the grid is expanded and not.
I wonder if your WHDG has tons of records and you don't have paging enabled. That would be a way to have gigantic page sizes without noticing it.
Ed
Good try.
321K Expanded or Unexpanded
Good try, but the grids area already bound at the lowest level and the "Apparent" page size does not increase when the grids are expanded. The rendered page sizes are of course the same as no postback occur at expansion.
The other thing I have noticed is that repeated postbacks via the buttons even when they dont have code behind them eventually result in a slightly longer delay before postback acuallly occurs.
I tried this with Firefox and Chrome and it doesent happen. Odd Right ?!? I reloaded version seven of IE and ran the malware as well, no change.