User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,587 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,614 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1116 | Replies: 3
Reply
Join Date: Sep 2007
Posts: 81
Reputation: justapimp is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
justapimp justapimp is offline Offline
Junior Poster in Training

Help Need help reducing flicker on a web page

  #1  
Nov 2nd, 2007
I have a website that uses a frameset which consist of a left frame and right frame. The right frame consists of the main contents, which are selectable via a set of iframes. The left frame has a graphical panel that users interact with to request info from or send data to the main content frame. Once each iframes is selected, that iframe loads its own panel so the user can use the features of that iframe and panels.

The problem that I have here is that every time a selection is made on the panel, it causes the main content to go through a full postback which cause the pages to flicker and at the same time cause the left panel to refresh as well hence looses the previous selection.

What I would like to know is how and what can I do eliminate the flickers while maintaining the view state of the graphical panel. I have heard of the Microsoft ICallbackEvenHandler but I don’t know how to use it and I don’t know if it would be the right tool for the job.

Please would someone point me in the right direction.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 1,058
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: Need help reducing flicker on a web page

  #2  
Nov 2nd, 2007
personally, I say rebuild without frames. Anyway, if incase you do not already do it, try adding the "If Not Page.IsPostBack Then" statement. This should help with you losing your selection (hopefully). I haven't delt with frames in over 5 years, when it was mandatory to try it in school. The cross-browser accessability is much less than acceptable. I don't mean to knock, but I don't think you have a choice in this matter. ASP.NET wasn't really made for frames so their compatability with it might be unacceptable for you. If the Page.IsPostBack statement fails to keep your focus, you might just want to add a session variable to hold your focus if you page is refreshed every single time a frame is called. Wish I could be of more help.
Reply With Quote  
Join Date: Sep 2007
Posts: 81
Reputation: justapimp is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
justapimp justapimp is offline Offline
Junior Poster in Training

Re: Need help reducing flicker on a web page

  #3  
Nov 4th, 2007
Believe it or not, I do have that line of code in the program.
Reply With Quote  
Join Date: Sep 2007
Posts: 1,058
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: Need help reducing flicker on a web page

  #4  
Nov 5th, 2007
hmm, well sorry I couldn't be of help this time. Almost everyone has had this problem with asp.net and frames.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 6:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC