473,387 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Masterpage flickers when modalpopup extender is used in asp.net 2.0

Hi all.
I have used modalpopup extender to popup a login from a panel. It is shown when a timer in the masterpage fires it's tick event. Everything is going ok. But each item a child page loaded the master page flickers by showing the panel i am using for the modal popup extender. I tried by making the panel invisible at page load but it shows javascript error in each page i open and also the modal popup is not popped up even when the timer has time to fire tick event. Moreover the timer itself is not working in this case. Any idea would be appreciable. Thanks in advance.
Sep 26 '08 #1
2 4385
Frinavale
9,735 Expert Mod 8TB
Hi all.
I have used modalpopup extender to popup a login from a panel.
It is shown when a timer in the masterpage fires it's tick event.

Everything is going ok. But each item a child page loaded the master page flickers by showing the panel i am using for the modal popup extender.
Consider putting the child controls in UpdatePanels

I tried by making the panel invisible at page load but it shows javascript error in each page i open and also the modal popup is not popped up even when the timer has time to fire tick event. Moreover the timer itself is not working in this case.
If you use your .NET server side code to set a panel to invisible this control will not be rendered in the browser...therefore your JavaScript will not be able to access it (because it hasn't been rendered).

If you want to set it to invisible use CSS: style="display:none;" will work just fine (note that style="visibility:hidden" will make the panel invisible but the place that it exists will show up as a blank spot)
Sep 26 '08 #2
Thanks Frinavale. It pretty worked fine. Now it is quite in track. Thanks again.
Oct 15 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jaikumar | last post by:
Hi, 1) I have created one windows application, In the main form ( form1) i have added one usercontrol (usercontrol1), In that user control i am drawing one image. 2) In the UserControl1 i am...
0
by: Sakharam Phapale | last post by:
Hi All, When I runs following code RichTextBox control on form flickers. I don't know why it's so? Is any idea to avoid flickering? private void cmdBold_Click(object sender, System.EventArgs...
0
by: Nemisis | last post by:
Hi everyone, Does anyone know how to show an Ajax ModalPopup when a page loads? I would like to use it as a warning dialog for a company record, so that when a user navigates to a companies...
0
by: pianobasher | last post by:
Hello I have a class that's derived from a normal windows Form. I call it BaseContainer. It has a Panel and a built-in method to add another BaseContainer derivative inside that panel. I hoped...
1
by: Jamie Sutherland | last post by:
Hi , On my page I have updatepanel 2 buttons, 2 modalpopup extenders panel with a updatepanel and some textboxes in it. I want to use the 2 buttons to open the same panel using the...
17
by: Jon | last post by:
In the following, the second parameter value is put in arr2. Can I assume that the first is also put in arr1 and not arr1? More generally, in C#, at what point is i incremented? int i=2;...
1
by: Axel Gallus | last post by:
I add some option items to a <selectbox by: ----- MySelect.length = null; // clears all options in select element for ( var i in Somename ) { MySelect.options = new Option(Somename,
2
by: E11esar | last post by:
Hi there. I am utilising a ModalPopupExtender in my ASP.Net (C#) page, to act as a dialog box so a user can either select from a dropdown list or perform a search for an item. This all works...
9
by: semomaniz | last post by:
If you have used modalpopup often you are aware that if the content of the page is big enough you are able to scroll the page and still the modalpop remains at the center of the page or the x y...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.