modalpopupextender

Modal Pop Extender Inside Update Panel

Hi, I have a modal popup extender which is triggered by gridview onRowCommand. The gridview and the modal popup extender is in different updatePanel. The panel which assigned to PopupControlID of the mpe contains a textbox and a button. This button will triggered a page method web service that will return a value to be assigned to the t...

Editing a Gridview row with drop-down lists gets too wide - how can I use popup panels instead?

I have a series of GridViews in a Tab Panel - databound to a generic List of Business Objects. The columns in the Gridview are all similar to the following: <asp:TemplateField HeaderText="Company" SortExpression="Company.ShortName"> <ItemTemplate> <asp:Label ID="lblCompany" runat="server" Text='<%# Bind("Company.ShortName")...

Set the focus on Popup Panel

Hello, I use a modalpopupextender to show a popup when the user clicks on a button. <ajaxToolkit:ModalPopupExtender ID="mpe1" runat="server" TargetControlID="statusInfoLb" PopupControlID="statusInfoPanel" DropShadow="false" OkControlID="okBtn" OnOkScript="onOk()"> </ajaxToolkit:ModalPopupExtender> <asp:Panel ID="statu...

Page_Load after Modal Popup

I have a page with a user control which gets some data updated via a modal popup. Upon clicking "ok" on the modal popup - the new data is being written to the database - but the base page doesnt "reload" to show the updated data. How do I get that to happen? ...

ModalPopupExtender z-index value decreases after every show

This is a new one I have never seen before. I have a gridview containing a bunch of categories that can be edited by clicking on the respective "Edit" link within the gridview. The modalpopupextender is then shown programmatically (.show() method) and the user is allowed to edit the category. Then the modal popup is programmtically hi...

Issue with Multiple ModalPopups, ValidationSummary and UpdatePanels

I am having an issue when a page contains multiple ModalPopups each containing a ValidationSummary Control. Here is the functionality I need: A user clicks a button and a Modal Popup appears with dynamic content based on the button that was clicked. (This functionality is working. Buttons are wrapped in UpdatePanels and the partial ...

ASP.NET Asynchronous pages and AJAX control toolkit

Hello, I got a portion of the website that calls out to a web service and some other external requests and I decided to turn this into asynchronous model (to free up threads so they can process other requests) and everything is working fine, everything executes but... When everything completes I am calling a modalpopup extender servers...

ModalPopupExtender inside a usercontrol, ID conflicts

Hello! I have a bit of a problem. I'm creating a popup usercontrol controled entierly on the client side. Inside my control i have a ModalPopupExtender. The problem is that when i create two or more instances of this usercontrol the ModalPopupExtenders ID is not unique per instance, i infact get many ModalPopupExtenders with the same ID...

resize ModalPopupExtender

after showing the ModalPopupExtender, there are two radio buttons that are displayed as part of the popup. When you select the second radio button, I display more information in a gridview control. When the ModalPopupExtender first displays, I have it set at 40% for width and height for the panel associated with the popup. After click...

AJAX ModalPopup Pops Behind (Under) Page Content (Negative z-index)

I am having an issue with the AJAX ModalPopupExtender in version 40412 of the AJAX Control Toolkit (http://ajaxcontroltoolkit.codeplex.com/releases/view/43475). The first time the ModalPopup is made visible it works correctly. The z-index is set to 6001 (and the background Div's z-index is set to 6000) and the Popup appears above everyt...

ModalPopup inside the UpdatePanel with default form values

I have a ModalPopupExtender inside an UpdatePanel which opens an input form. The problem is when I click the "Edit" button (which is also inside the UpdatePanel) I want to fill the form with existing values using server side code. But it OnClick method of the button doesn't seem to work. My question is: How can I make the serverside cod...

ajax modal popup not hiding in code behind?

I am trying to hide modal popup from code behind. But it is not working. <script type="text/javascript"> // a reference to the popup behavior var _popup; function LoadPopup() { // find the popup behavior this._popup = $find('mdlPopup'); // show the popup this._popup.show(); // sync...

How to Get Specific Button pressed in a repeater when using ModalPopupExtender

I have buttons contained within a repeater. A ModalPopupExtender is used to confirm event for each button. I create standard panels outside of the repeater and I attach each button in the repeater to these panels from inside the repeater. The problem is once the button is pressed in the popup I can't figure out how to determine which row...

ASP.NET: ModalPopupExtender prevents button click event from firing

Here is what I'm trying to do: Click a button on my page, which in turn makes (2) things happen: Display a ModalPopup to prevent the user from pressing any buttons or changing values Call my code behind method, hiding the ModalPopup when finished Here is the ASP markup: <asp:UpdatePanel ID="UpdatePanel2" runat="server" ChildrenAsTri...

How can I create and call a javascript function on a dynamically loaded user control?

when i try to call a javascript function in a dynamically loaded user control, it cannot find the function specified. I have a user control for organizationDetails.ascx. In there, I am using modal popup extender to get some information from the user and then i verify the address through google and suggests the proper format. I am trying ...

Call (show) a modal popup located in MasterPage from it's childs

I'm trying to make a default modal box that must be accessible from any part of the application, and need to be called whenever I want from inside any page. (must be called from code-behind). So I came up with the idea of a Panel + modalPopupExtender placed in the MasterPage, and calling it from child pages via code-behind. How can I ...

ASP.net modalpopup in loggedIn event

Hi, I'm implementing a Announcement system that is loosely based on this article: http://www.4guysfromrolla.com/articles/110409-1.aspx One of the changes the i need to do is to show a modalpopup (using the ModalPopupExtender) after the user login if the user got announcement to read. The pop-up does not show because the user get redi...

ModalPopupExtender doesn't work on IE6 frame layout

I'm using a "frame" layout similar to the one in this excellent answer: a div #top at the top of the page, a div#left on the left, and a div #main with the main content. The #top and #left divs contain navigation menus. Now I want to use a popup div using the AjaxControlToolkit ModalPopupExtender inside the content (#main) div. This w...

Login time out when calling opening a new window from modal popup (ASP.NET)

I have a weird problem. I have a window, on a button click I open a modal popup (using ModelPopupExtender), that let's you select a few criteria and then click a submit button. On click of submit button, I open a new window (using window.open()) that shows the status of what happened to your submitted request. However, every time this st...

Update Message on ASP.NET ModelPopupExtender

Hi, I have a form in a MS AJAX ModalPopup Extender, which is in a UpdatePanel (for async loading). Everything works as expected. There is one thing that I am trying to do but not sure how to do it. On form submission, there is server side validation on top of client side validation. My question is: what is the best way to display valid...