Questions tagged [modalpopupextender]

The ModalPopupExtender is part of the AJAX Control Toolkit for ASP.NET

The ModalPopupExtender is part of the AJAX Control Toolkit for ASP.NET

The ModalPopup extender allows a page to display content to the user in a "modal" manner which prevents the user from interacting with the rest of the page. The modal content can be any hierarchy of controls and is displayed above a background that can have a custom style applied to it.

Demo page

632 questions
44
votes
8 answers

ModalPopupExtender OK Button click event not firing?

I have a Button inside an UpdatePanel. The button is being used as the OK button for a ModalPopupExtender. For some reason, the button click event is not firing. Any ideas? Am I missing something?
Kyle Trauberman
  • 25,414
  • 13
  • 85
  • 121
21
votes
3 answers

Use ModalPopupExtender without having to set TargetControlID?

I'd like to use a modalpopupextender in my asp.net page to show a sub form. But it only has to show on specific conditions. Those conditions are determined in a piece of javascript code. So, most importantly, the modal popup doesn't have to show on…
Herman Cordes
  • 4,628
  • 9
  • 51
  • 87
17
votes
4 answers

Moving ModalPopup Outside the IFrame. Possible?

I have an iframe inside my main page. There is a modalpopup inside the iframe page. So when the modalpopup is shown, the parent of the modalpopup is the iframe body and the main page parent body. Thus the overlay only covers the iframe and not the…
Zuhaib
  • 1,420
  • 3
  • 18
  • 34
17
votes
5 answers

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…
C. Griffin
  • 681
  • 1
  • 12
  • 32
17
votes
11 answers

Positioning AJAX ModalPopupExtender in the center of the screen problem

I have problem with positioning ModalPopupExtender in the center of the screen when it's PopupDragHandleControlID property is set (without this property it works fine ). ModalPopupExtender is not positioned in the center of the screen. I thinks what…
dani
  • 1,077
  • 7
  • 19
  • 27
13
votes
5 answers

Pagemethods in popuppanel does not load the second time in IE9

I have a main page which has some pagemethod called to perform some activities. A popuppanel(popuppanel content page also have pagemethods) is used within this main page to show some details. If the same is executed multiple times (i.e., opening the…
RGA
  • 602
  • 2
  • 9
  • 39
12
votes
15 answers

modalpopupextender and commas appearing in my textbox asp.net

Some weird stuff is happening, I am converting an application that used to use javascript to open another web page in a tiny window for data input to use a ModalPopupExtender. It seems to work fine, but in the OK event, when I do txtData.Text (the…
NibblyPig
  • 51,118
  • 72
  • 200
  • 356
12
votes
7 answers

ModalPopupExtender and validation problems

The problem I am facing is that when there is validation on a page and I am trying to display a model pop-up, the pop-up is not getting displayed. And by using fire-bug I have noticed that an error is being thrown. The button that is used to display…
Malachi
  • 33,142
  • 18
  • 63
  • 96
8
votes
2 answers

Change position of Datepicker inside Modelpopup textbox

I am working on a ASP.Net webform which includes AJAX Modelpoup Extender and jquery nepali-datepicker. I have to integrate nepali-datepicker to a textbox that is inside my second modelpopup i.e. with blue background shown in image below. Problem I…
TFrost
  • 769
  • 2
  • 12
  • 31
8
votes
3 answers

How to close Modal popup Extender from Server side

How to close Modal Popup Extender from server side code on click on close link inside the popup?
karthik k
  • 3,751
  • 15
  • 54
  • 68
8
votes
6 answers

How can I make the modal popup scroll its contents with the page?

I've got a modal popup and when it loads contents that are taller than the browser height I am unable to scroll down to view the rest of the information. Instead the background can scroll but the popup won't. Instead I'd like to have the popup stay…
Middletone
  • 4,190
  • 12
  • 53
  • 74
7
votes
1 answer

Want to show Update Progress control on top of ModalPopExtender

I have a content page with an Update Panel and a Update Progress controls. The Update Progress control is properly displayed when the page posts back. I have now added a Modal Popup Extender to the page. When a post back is fired from the Modal…
Zaksh
  • 953
  • 2
  • 12
  • 29
7
votes
1 answer

How to set TargetContrlID in ModalPopupExtender with a control in a GridView

How can I set TragetContriID to a HyperLink that is inside a GridView? I tried this :
6
votes
1 answer

ASP.Net Ajax ComboBox in ModalPopup

I have a combo box inside a ModalPopupExtender and when the popup is showed the list of items is not located under the text box but is offset to the right. my code is:
GustavLatte
  • 243
  • 3
  • 10
6
votes
5 answers

ModalPopupExtender won't render in front of everything in IE7/IE8 Compatibility mode

I have a ModalPopupExtender from the AjaxControlToolkit that is working properly in Firefox, Chrome and IE8, but when I run it in IE8 Compatibility mode, it pops up behind the content of my page, rather than on top. The popup is in a user control…
1
2 3
42 43