modalpopupextender

ModalPopupExtender adding scrollbars in SharePoint

Whenever I show a ModalPopupExtender on my Sharepoint site, the popup shown creates both horizontal and vertical scrollbars. If you scroll all the way to the end of the page, the scrollbar refreshes, and there is more page to scroll through. Basically, I think the popup is setting its bounds beyond the end of the page. Has anyone run ...

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? <asp:updatepanel id="UpdatePanel1" runat="server"> <ContentTemplate> <cc1:ModalPopupExtender ID="ModalDialog" runat="server" ...

ASP.NET AJAX nested updatePanel modalPopup funkiness

It seems that in some cases, if you end up with nested modalPopups wrapped with updatePanels (not ideal I know, and should probably be refactored, but that's what we're working with because of how some of the user controls we wanted to re-use were written), when you fire a postback that should open the nested modalPopup, instead it close...

Passing data to server code from a client-side control using ASP.NET AJAX

I have a ListView on a page that displays a list of widgets. When a user clicks on one of the items in the list, I want to display a ModalPopup that contains controls allowing the user to operate on the item they selected. I could easily accomplish this by placing a Panel and a ModalPopupExtender in the ListView's ItemTemplate, but thi...

Asp.net Ajax Error

I added the ModalPopupExtender to an existing ASP.NET application. At runtime I get the following error Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Me...

ASP.NET MODALPOPUP dows not execute code

Hi, Wwhen I click the button on the popup to insert data to database, it does nothing, WHYYYYY? <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BehaviorID="popup" TargetControlID="cmdTrigger" PopupControlID="pnlPopup" BackgroundCssClass="modalBackground" OkControlID="btnOk" > </cc1:ModalPopup...

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 entire page. I tried moving the modalpopup from the iframe to the parent windows body elem...

Ajax ModalPopup Extender with ASP.NET MVC

Hi Everyone, I am trying to implement an Ajax ModalPopup Extender but i have no clue where to start. Can somene please show me how to go about doing this or atleast guide me in the right direction. Thanx Owais ...

Is there a way to open another page using ModalPopup Extender ??

hi everyone, I was wondering if there is way to open another page using a Modal Popup Extender? and if there is can someone please the tell me how do i go about doing it .. Thanx Owais ...

Ajax ModalPopupExtender with an edit form in ASP.NET MVC

hi Everyone, I have an events calendar and on each event in the calendar there is an edit link which open up ajax ModalPopupExtender for editing the event information. The issue that I am facing right now is that the edit has to be in a form so it can update the information on the server.. how do i deal with this??? And what would be...

How to prevent the automatic client side validations execution in a ModalPopupExtender?

I'm using a ModalPopupExtender to show a modal popup window with a bunch of input controls and a couple of validators with EnableClientScript set to true. The issue I'm facing is, that the client-side validations get executed right after the modal popup is shown (via client-side code, not from server). Is there a way to prevent this? ...

How can I trigger a ModalPopupExtender depending on the value of a DropDownList?

I have a DropDownList, a Button and a ModalPopupExtender. When the user clicks the button, depending on the value they've selected, I'd like to either let the button cause a normal postback, or trigger a ModalPopupExtender (and cancel the Buttons postback). I've achieved this by using ModalPopupExtender.Show() and ModalPopupExtender.En...

LinkButton postback problem inside custom WebControl

Hi all, I've given up trying to find a solution to this. My page has a ModalPopupExtender that shows an asp:Panel with my custom WebControl inside it. My custom WebControl contains only a LinkButton and is inside an UpdatePanel. The problem is that, when clicked, the LinkButton it is reloading the entire page. With a regular input Butto...

Using CSS page breaks, but within an absolutely positioned DIV

I am using the ASP.NET AJAX ModalPopupExtender on a page. The popup contains details of one or more customer orders that need to be printed out. Each order needs to be on a separate page. I should be able to use the CSS page-break-after style, but this does not work in this scenario as the ModalPopupExtender causes the containing div to...

Trying to self contain pop ups which use the AjaxToolkit ModalPopUpExtender

I have 3 different kinds of ajax popups that need to exist across my site. I was hoping that I could simply create a user control for each one and place the panel and modal popup extender inside each one but this doesn't seem to be working. Has anyone tried this before or do you have a recommendation as to how I can avoid duplicate code ...

Ajax Modal Popup

I am displaying data in a gridview. A link is bound in it. On that linnk button event, a ajax modal popup is shown. That modal popup contains a windows media player control and a repeater control. Repeater contains the audio files, and when select 1 of them, that file will played in that player control. The problem is that, when audio fi...

ModalPopupExtender: How do I retain my position after dragging and firing a post back?

I've already tried Google searching for this and looking at the source for this control, but didn't find the answer. If I was able to link into a drag event I would be able to solver this, but I don't think it exists (see this link for a solution with a DragDropPanel (http://www.dotnetcurry.com/ShowArticle.aspx?ID=181). How can I do this...

Ajax Modal Popup Display Issue

Hi all, On the web page, there is gridview control contains product ID's. bind to a link button. On ItemCommand event of gridview, I fetch the product information and display in the ajax modal popup extender control. The popup is programatically show on ItemCommand of gridview and also hide programatically. Now the problem is that, wh...

postback makes textbox cursor to hang

I'm trying to do a search that you type in some letters and it returns list of results and you can type more for accuracy. The next code is in modalpopupextender. <asp:UpdatePanel runat="server" ID="upnlPatientSearchModal" > <ContentTemplate> <div class="popupheader" align="left" width="300"> <asp:TextBox ID="txtFiel...

use global.asax to trigger event on master.page to show application errors

i would like to use my AJAX-enabled VB web application's gloabal.asax application_error sub to manage all my error handling. However, instead of just sending the user to an error page, i would like to show the error message to the user via a modalpopupextender control located inside the site's master.page. Can someone please explain in d...