Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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:37 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataList Web 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:
http://www.strengthtechnologies.com/.../Examples.aspx
 
Old July 15th, 2003, 03:47 PM
Registered User
 
Join Date: Jul 2003
Location: Montreal, QC, Canada.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

It seems to me that what you are noticing is the whole page being refreshed. If this happens quickly enough you will not notice it, but it does happen on all form submission and when clicking on links. If the page is coded using tables then the whole page will refresh if coded using frames then just the target frame will refresh.

;)





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 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
DataList Control causes screen flicker Jan_Ma Classic ASP Components 0 June 30th, 2003 04:33 PM





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