Iâm getting terrible screen flickering when selecting a hyperlink from a Web User Control for a DataList. I tried SmartNavigation, but it didnât work.
The DataList I have contains hyperlinks, and upon clicking a hyperlink a PostBack value for the selected hyperlink is used by a CSS template to let the DataList know which template to use. My Web application has a number of Web User Controls, so I donât think what someone suggested to me (set .autopostback=False for Control) would work because then I cannot get PostBack values to be used for further actions. Also, I have only seen where this setting can be applied for hard coded source code, and not for a Web User Control.
I tested hard coded source code for a dropdown list, and ran it, and I never got screen flicker when selecting and receiving a postback. Does this mean that Web User Controls should be avoided for Web applications, and better to just write the code out?
In visiting a couple of Websites built with .NET, I noticed that when selecting a hyperlink, the whole page went white, then reappeared with the proper page; i.e. showing the same list of hyperlinks on the left. Is there some technique being used by designers to just white out the page very briefly because the screen flicker problem is a bug in .NET, and hasnât really been resolved. Can someone tell me how developers get this Web page to go all white just before the display?
âFREEâ control for download for retaining scroll bars in same position after postback.
I downloaded the following control SmartScroller.NET Control from: