.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

PopUp Extender

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :ASP.Net
HEllo i havce user ontrol which is basically contain Login Control and in header.ascx i m calling login user control throught popup extender but while loading the page popup extnder,conrol inside user conrol or pop up extnder get resized   may i know how to avoid this to resize control???? 

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

Ajax Popup Extender: Crashing the Browser



    I am using Ajax Popup extender as confirmation window. In my page, I am having multiple post backs for different cases. If I display ajax Popup extender, first few times it is working fine. After that, It is crashing the browser and i have to close the browser or it is closing the browser automatically.

Any Idea why it is happening? Did i miss anything?

My App details

IE Version : 6.0

.Net version: 3.5

Ajax version: 3.0.30512.20315



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?  

Problems Positioning Popup Extender After Postback

Please read this entire post before responding and refer to the supplied screen shots to fully understand the problem. There are multiple layers of Ajax controls invovled. On the main page, I have Modal Popup Extender that displays a User Control. Within the User Control is a Popup Control that displays another User Control. User Control #2 which resides on User Control #1 is comprised of a GridView with sorting capabilities. I've got code in place that displays User Control #1 following a postback generated from within it. I've got additional code that displays User Control #2 (the one with the GridView) following a post back. The result is that when User Control #2 is sorted, it remains visible. The problem is that after the postback for User Control #2 ocurrs, the control is not displayed at the coordinates specified in the markup. If I hide it and then redisplay it, it will appear at the specified location. Protected Sub Page_Load() Handles Me.Load If TextBoxShowCompanyFacilitySelector.Text = "-1" Then Dim PopupControlSelectCompanyFacilityId As Object = FormViewContactDetail.FindControl("PopupControlSelectCompanyFacilityId") PopupControlSelectCompanyFacilityId.Show() End If End Sub These screen shots show the desired and actual behaviors.

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

Update Gridvew Row inside popup extender control

I have a gridview with popup control extender to show details of the row, it works ok. But I also need to update the fields inside this popup window. How do I get the row ID and pass it to the button click event handler? Please help. 

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"

Model Popup Extender


hi all

i have used a model popup extender for a login screen

here are the codes

<asp:LinkButton ID="loginbtn" runat="server" Text="Login"></asp:LinkButton><asp:LinkButton
                    ID="logoutbtn" runat="server" Visible="false" PostBackUrl="~/UI/Pages/Customer/SingOutCustomer.aspx">Log Out</asp:LinkButton>
                <cc1:ModalPopupExtender ID="loginbtn_ModalPopupExtender" runat="server"
                    DynamicServicePath="" Enabled="True" TargetControlID="loginbtn" CancelControlID="ImageButton1" PopupControlID="Panel1" BackgroundCssClass="modalBackground" DropShadow="true">

<asp:Panel ID="Panel1" runat="server">

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.




hi problem with grid paging when grid is placed in ajax model popup extender


hi i had one ajax tab containeer.in that i placed a grid on click of the grid i am showing another grid which has pagination in a popup. the popup grid has the pagination(custom) which iam showing prev and next button in middle drop downlist the code is as fllows


<asp:ImageButton ID="imgbtnOPrev" runat="server" CommandArgument="prev" CommandName="Page"

 ImageUrl="~/Images/prev.gif" OnCommand="imgbtnOPre

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?

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