.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Modal Pop Up Extender in IE 6

Posted By:      Posted Date: September 30, 2010    Points: 0   Category :ASP.Net


I have a very stressful problem in my web site,i'm using in my user control page a modal pop extender wich in the first load work fine but in the second the drop down lists of the parent page appears in the front !!!!

So to avoid this bug of IE 6 (Select does not consider z-index) i'm using iframe but it still not working!!!!

Please help me with this issue :)

this my aspx page:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AfficherEquipeProjet.ascx.cs"
    Inherits="FicheProjet_ActionsPlanning_AfficherEquipeProjet" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Reference VirtualPath="~/FicheProjet/ActionsPlanning/AfficherPlanning.ascx" %>
<%@ Register TagName="HierarCentreResp" TagPrefix="hcr" Src="~/FicheProjet/Hierarchie/HierarchieCentresResponsabilite.ascx" %>

<div id="ie6SelectTooltip" style="display: none; position: absolute; padding: 1px;
    border: 1px solid #333333; background-color: #fffedf; font-size: small; z-index: 10;">
<asp:ImageButton ID="BTNEquipeProjet" runat="server" ImageUrl="~/App_Themes/classique/Images/toolsBar/u58.p

View Complete Post

More Related Resource Links

Open different page using Ajax Modal PopUp Extender Control

The article Open different page using Ajax Modal PopUp Extender Control was added by Chintan Dave on Thursday, July 15, 2010.

You May use Modal Popup Extender to open some part of the page as Popup. But there we don't have any property to open other html or aspx page in Popup window.We can do it using IFrame control. What we have to do, just add IFrame control in Panel that

Modal Popup extender

HEllo I m using modal popup extender well i m having page on the page i m showing modal pop up extdner on click on every button but my problem is if scroll the page then modal popup extender aslo scroll till end I dont want modal popup up extender to be scoll according to page scroll can u help me pls?  

View Source When Modal Popup Extender is Displayed

I've got some Javascript within a div that's displayed by a Modal Popup Extender. The Javascript is throwing an error. When I go to 'View Source', it appears that the source for the Modal Popup Extender and the Javascript contained therein isn't there. How can I view the source then? The Modal Popup Extender *is* being rendered.

Modal Popup Extender: Jscript Runtime Error

I have a master detail aspx page with modal popup. The modal popup has a formview with edit and insert options. Whenever I try to show or hide the popup it always gives the following error. If I ignore it just works fine. Any reason why is this error popping up. Once when I deleted all the breakpoints and debugged it, the error did not show up Error:       Microsoft JScript runtime error: SysArgumentNullException: Value cannot be null       Parameter name:elements. I do not where the error occurs. It shows a break some where as follows: Debug Script Section --------------------------- Sys.UI.DomEvent.prototype = {     preventDefault: Sys$UI$DomEvent$preventDefault,     stopPropagation: Sys$UI$DomEvent$stopPropagation } Sys.UI.DomEvent.registerClass('Sys.UI.DomEvent');     $addHandler = Sys.UI.DomEvent.addHandler = function Sys$UI$DomEvent$addHandler(elements, eventName, handler, autoRemove) {     /// <summary locid="M:J#Sys.UI.DomEvent.addHandler" />     /// <param></param>     /// <param></param>     /// <param></param>     /// <param optional="true" mayBeNull

modal popup extender..session timeout

hi, i actually want to give a popup 2 min before the session timeout, i have actually found out a way to do that but i want to use modal pop up extender instead of javascript....... how should i use this,how do i create the pop up window first and then how do i call it from page load of each page, what should be the targetcontrolid,please help me out.   thank you

Ajax Modal Popup extender



I have an ajax modal popup extender in update panel.  The modal popup extender has a label , checkbox and a dropdown list. When i open the popup first time (i.e Page_load) and select something and click on ok the data is populated correctly in another grid. If i open the popup second time and select some data and click on ok  it is populating the grid with the current selected data as well as previously selected data. Please provide me with the solution with this issue..




Modal Popup Extender server side Show() does not work


Hello. Im using a modal popup extender to tell my user that the page has successfully been updated and then redirect them to a new page with the ok button. The thing is that i do NOT want this extender to fire when i press the button. I would rather call the Show() function myself. Right now i have a simple test page with a button that calls the popup extender Show() function but Nothing happens. If i set the targetID to the button it works but Im not able to call it through codebehind.

Any thoughts?

<%@ Page Title="" Language="C#" MasterPageFile="Master.master"

modal pop up extender button click is not firing


Hi All,


I have a modal pop up extender that is working fine. Inside the modal pop up window I have 2 buttons yes No

If I click on yes I am redirecting it to a diff page. No is simply closing the pop up.

In my .cs file buttonclick I added the response.redirect();

But my OnClick="BtnYes_Click" is never getting fired although I click on the yes button. What is wrong?



<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" >
                   <asp:Button ID="btnTarget" runat ="server" style="display:none" />

how activate modal popup extender on some condtion.


i want to know how to activate modal popup extender only on some condition and that to on button click



activate modal pop up


can any body help me

javascript window.history.back() issue with Modal popup extender



I have a asp.net page that has a list of items. When one of the items from the list is clicked a details page is displayed. This details page has a link button to show a popup for history of the item. The details page also has a button with text 'Back'.  The back button has onclick event set to  "javascript:window.history.back();".

This back button works fine and goes back to the first page. However when the user is on the second page and opens the pop up by clicking on the link button, the back button stop working and displays Webpage has expired message.

Any help would be appreciated.




modal pop up extender close ICON or Cross in top right corner



I am using a modal extender pop up with dimensions 400px by 400px

and in the top right corner I want

to put a image cross that when clicked will shut the modal pop up.

I know to make the cancel control to the buttom image but I have

seen on some sites the image that seems to sit half in and half out the modal

pop up extender DIV box which the effect I like more than an image internal to the

DIV of the modal popup floated right corner.

I hope this makes sense and apprecaite any tips to do this





Modal Popup Extender


hi all

how can i add multiple targetcontrolids to a modal popup extender..


Modal PopUp Extender with DataBound DropDownList



I've build a Modal Popup extender with a DataBound DropDownList. The only problem I've got is that the DropDownList is being filled in the Page_Load. Even when I put the binding in the Load of the Modal PopUp extender there is no data inside my Dropdownlist.

What am I doing wrong here? Because everything should work when I hit the TargetControlID. Can anyone help me out here?

thanks in advance. 

Modal Popup Extender and an Update Panel - "Cancel" Button problem


This should be a quick "yes" answer - I am in the process of creating a very simple test, but I thought I'd ask on here too (also, so other people might be able to find the answer, if they have the same problem).

I have created a modalpopupextender that opens up a panel containing an update panel.  I have a cancel button that is tied into the MPE's [CancelControlID] property and this closes the popup when I click it.  However, if I perform a partial postback within the update panel, the cancel button no longer works.  I have found an example online that seems to imply that the cancel button (and I'm guessing, by association) and the OK button should be outside the update panel.  Does the partial postback break the buttons' client script bindings, and thus should they always be placed outside the update panel?

Modal Popup Extender postback problem?



When i try to submit the page which has modal popup extender,popup extender becomes visible! How can i avoid this?

Thanks in advance.

Modal PopUp Extender Dynamic Content



How can i make modal popup extender dynamic size which is populated by SqlDataSource???

Here is the code below ;

<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lblPopupTargetID"
                        PopupControlID="Panel1" BackgroundCssClass="modalBackground" DropShadow="true" />
                    <asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" Width="450px" Height="300px">
                        <asp:UpdatePanel runat="server" ID="UpdatePanel1">
                                <asp:GridView ID="GridView1" DataSourceID="SqlDataSource2" runat="server" AutoGenerateColumns="False"
                                    Width="450px" Height="300px" AllowPaging="true" PageSize="10">
                                                <asp:Button ID="btn" runat="server" Text="Select" CausesVa

showing progress bar right after closing Modal Popup Extender



i have a question, i have a list box with a button below that, when user click on the button

modal popup will open (created by Ajax modal Extender ) then user enter somthing on the text box and click on the save

next, modal popup will close , and user can see his/her added item in the list box,

how can  i add some progress bar showing 3 to 5 seconds progress right after closing modal popup window?

my code has enclosed:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="MainSystem.aspx.vb" Inherits="MainSystem" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
  <style type="text/css" >
        .modalBackground {
<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">
    <title>Main System</title>

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend