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
5
votes
1 answer

Fadeout/Darken background behind ModalPopupExtender in ASP

I am currently working on a ModalPopupExtender in ASP.net with C#. I have the modal popup extender working fine but I was just wondering if there was a way to darken the background with some sort of animation to make the popup extender more…
Boardy
  • 35,417
  • 104
  • 256
  • 447
5
votes
1 answer

showing an asp:ModalPopupExtender using jQuery

I am trying to show an asp:ModalPopupExtender using jQuery, without any success. Here is what I have : ASP.NET JAVASCRIPT function ShowConfirmPopup() { var…
Jean-François Beaulieu
  • 4,305
  • 22
  • 74
  • 107
5
votes
1 answer

How to set a Modal popup with an image in React

I have an Image class in React, and I have a button that should implement expand on click, on every image. I decided to use a Modal popup so when I click, the Image will show bigger in the Modal popup. I find it hard to set the Modal as an…
ShiGi
  • 91
  • 2
  • 3
  • 7
5
votes
2 answers

asp.net ModalPopupExtender : need to show scroll bar when overflow

I display a gridview in a ModalPopupExtender. When the screen resolution is to small, the pop-up is to big to all be displayed on the page. I just want to add scroll bar to the pop-up when this happen. I know it's probably some CSS, but all I tried…
DavRob60
  • 3,517
  • 7
  • 34
  • 56
5
votes
7 answers

how to clear the textbox value of asyncfileupload ..?

There is one button(MyButton). OnClick of this button a modalpopup(MyPopup) appears with one asyncfileupload ajax control, Ok button and Cancel button. The browse functionality of the asyncfileupload functionality is working fine, No problem. But…
Amit
  • 165
  • 1
  • 5
  • 18
5
votes
4 answers

ASP.NET GridView pagination without postback

Just a quick question for all of you guys. I have a Grid View inside Update Panel. My Modal PopUp pulls this Panel up. I am good so far. However when I try to do pagination on the popped up grid view, The page Posts Back. Then the Modal PopUp…
user209891
5
votes
1 answer

ASP.NET + ModalPopupExtender + Click Event

I have an ASP.NET application that is using ASP.NET AJAX. I am using the ASP.NET AJAX Toolkit to present a dialog to a user. When the user clicks 'Yes' in the dialog, I want to handle that event in the code behind. However, I noticed that my click…
Villager
  • 6,569
  • 22
  • 65
  • 87
4
votes
1 answer

How to set the position of the ASP.NET Ajax ModalPopupExtender?

Can the position of the Ajax modalpopupextender be set either to an absolute or relative position on the page? The default puts it at page center and I haven't found a way to override this. I would like to position the popup close to the control…
4
votes
2 answers

Asp.net ModalPopupExtender flickering during PostBack

I'm working on a web application that requires me to use a modalpopup I recently made within a user control. Everything works as expected, but somehow after a PostBack, and not always, the panel used in the modal flickers (blink) on the screen very…
4
votes
1 answer

Why does ModalPopupExtender not show through javascript?

I followed several web resources to understand how to show a popup from client side, and I made this code:
Victor Rodrigues
  • 11,353
  • 23
  • 75
  • 107
4
votes
3 answers

Preventing ModalPopupExtender from closing during/after PostBack

How do I prevent my asp:ModalPopupExtender from closing after or during a postback to the server?? Here is my code: JAVASCRIPT // Confirm popup Ok button function OnOk() { $('#confirmPopup').hide(); ClickSaveButton(); // does a…
Jean-François Beaulieu
  • 4,305
  • 22
  • 74
  • 107
4
votes
1 answer

ModalPopupExtender not displaying on button postback within updatepanel

I know this flavor of question has been asked multiple times, but I've spent hours sifting through answers that don't match or don't work and I'm at wits end. Background: I have a situation where I want to evaluate a record to make sure it fits a…
jasonk
  • 1,580
  • 4
  • 25
  • 33
4
votes
1 answer

Why does ModalPopupExtender not work when I move its target panel's style from hardcoded to CSS?

I have a ModalPopupExtender set up on a page and working great. It's tied to a panel with some style attributes hardcoded into its tag. I'm trying to get all my styles out of my markup into CSS, but when I move these styles into a class, the popup…
Tom Hamming
  • 10,577
  • 11
  • 71
  • 145
4
votes
3 answers

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…
Aditya T
  • 147
  • 3
  • 3
  • 14
4
votes
3 answers

AjaxToolkit ModalPopupExtender: How do I set focus to a control in the popup Panel?

When the user pushes the Button, I'd like to display a modal dialog box to capture a couple of values from text boxes and submit these values to the server. When the modal box is shown, I'd like the cursor to be placed in the txtFirst textbox. How…
Chad
  • 23,658
  • 51
  • 191
  • 321
1
2
3
42 43