Wrox Programmer Forums
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 30th, 2003, 04:33 PM
Authorized User
Join Date: Jun 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataList Control causes screen flicker

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:

Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Flicker SerranoG Access 1 May 16th, 2004 03:15 PM
DataList Web control causes screen flicker Jan_Ma Classic ASP Basics 1 July 15th, 2003 03:47 PM
DataList Web Control causes screen flicker Jan_Ma BOOK: ASP.NET Website Programming Problem-Design-Solution 0 June 30th, 2003 04:39 PM
DataList Web control causes screen flicker Jan_Ma Classic ASP Professional 0 June 30th, 2003 04:38 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.