•
•
•
•
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
![]() |
•
•
Join Date: Sep 2007
Posts: 81
Reputation:
Rep Power: 2
Solved Threads: 1
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.
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.
•
•
Join Date: Sep 2007
Posts: 1,058
Reputation:
Rep Power: 4
Solved Threads: 61
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertising ajax asp blog browser browsing community data design development devices dom domains feed firefox google html india intel internet legal linux marketing microsoft mobile applications mozilla multimedia news office php privacy reader report research search security software sql sun video w3c weather web web development wiki xml xoap yahoo youtube
- Change Web Page Font Size on the Fly (Windows tips 'n' tweaks)
- Use of Image control on Web Page (ASP.NET)
- Want help making program access a web page automatic. (C)
- DEfault web page has been jacked by a passthrough (Viruses, Spyware and other Nasties)
- Unable to open web page (Web Browsers)
- Printing Web Page (Windows 9x / Me)
- unable to access my web page (Domains and DNS)
- Opening a Web Page in a New Window (Windows tips 'n' tweaks)
- Win XP Explorer - Web Page View (Windows NT / 2000 / XP / 2003)
Other Threads in the ASP.NET Forum
- Previous Thread: Questions for Web Gurus! (*??*)
- Next Thread: To get the description (characterization) from the body tag in Index Server searching



Linear Mode