modalpopupextender

asp.net AJAX Modal Popup Extender - Cancel button doesn't work after postback

The panel which my modal popup extender "shows" has an update panel within it, to handle valiation. However, after postback, the close button doesn't seem to work. It just closes the panel butit leaves the modalBackground [greyed out]. <ajaxToolkit:ModalPopupExtender ID="ActivateModalDefault" ...

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 after postback, if I click the MyButton again, the popup appearing with the previous path i...

send a net send type popup to all users 1 day a week on my network

Hi, I'm looking to send a net send type message popup to all users in my network 1 day week every week. Can I do this via Windows somwhow or would I need a script running somewhere? Thanks, ...

How to stop postback when calling usercontrol

I have a ModalPopupExtender control and a panel which contains a iframe. The ModalPopupExtender's TargetControlID property is set to a html button control named btnFind. When I click to find button, the panel with its iframe control shows as a modal popup. This is work fine,but then I decided to take these control to an usercontrol a...

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 put and when the user scrolls up or down it leave the popup in place and let them scroll...

Mvc Contrib Grid Editing by using a Modal Popup Extender

In ASP.MVC i am able to display some data in a MvcContrb grid and have Edit and Delete Options. When i click on Delete the selected row will be deleted and the grid will be refreshed. Now when i click on Edit the user will be navigated to a new page with the Emp ID selected Ex I am thinking if I can open a Modal Popup Extender with the...

ModalPopupExtender, GridView, and IE6 - Disappearing Header Image

I've got a GridView inside a Panel being shown by a ModalPopupExtender. I am testing this in IE6 (corporate standard). The gridview has a CSS class applied to it. The portion of the class that applies to the header is: .myGrid .head { background-image:url('../Images/GridHeader.gif'); background-repeat:repeat; color:White;...

AjaxToolKit ModalPopupExtender + AnimationExtender

I am developing a site using ASP.NET 2.0. AjaxToolKit's ModalPopupExtender is being used to show a popup containing news items while the user is waiting to be redirected to a page (that page takes some time to load). Right now, I am using a button's OnClientClick property to show the modal popup using its show() method. So, the popup g...

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 do I do this? I've had trouble with registerscript commands before, so if one is needed...

AjaxModalPopupExtender: How do you display the dialog box upon selecting an item fromn a dropdownlist?

The following example displays a modal dialog box when the user clicks the button. What changes do I have to make to get it to display the dialog when a selection is made from the dropdownlist? Note that if I set the TargetControlID property from "Button1" to "DropDownList1", teh dialog box is displayed when the dropdown is DROPPED ra...

ModalPopupExtender: Dragging dialog box results in 'scrollleft is null or not an object' error

I am using the ModalPopupExtender control to display a modal popup dialog when a button is click. The problem is that dragging the dialog results in an 'scrollleft is null or not an object' error. Here's a video demo ..and here is ALL the code: If possible, I'd like to resolve this problem w/o resorting to modifying the AjaxToolkit s...

Set TargetControlID for ModalPopupExtender as a Button in a DataGrid Header

Hi, I am trying to add a ModalPopup to a GridView, by adding a button in the data grid header: <asp:GridView ID="GridViewTradeDetail" /> <Columns> <asp:TemplateField HeaderText="B/S"> <HeaderTemplate> <asp:Button ID="ButtonShowBuySellPopup" runat="server" Text="Set B/S" /> </HeaderTem...

Modal PopUp not displaying in chrome

hi i have some problem in displaying popup as when i implemented,its working perfectly in firefox and IE but not it chrome. also check the link.how to solve this problem in chrome. ...

CSLA, ASP.NET and AJAX ModalPopupExtender - how do I not load an object when the ModalPopup is not visible

I am in the middle of an ASP.NET project where I am using the CSLA framework and the AJAX ModalPopupExtender control. I have used CSLA and the ModalPopupExtender in different projects before, but this is the first time I am using them together. The way I want it to work is for the user to push a button, which will create an instance of...

Weird behavior with ModalPopupExtender and/or UpdatePanel

Hi I try to figure out what is wrong with my code but I'm lost. I've a ModalPopupExtender, triggered in code behind by the onClick event link button. The FIRST time I display my popup, it works well and if I close my popup using javascript, it works and I can get my popup back by clicking on my linkbutton again. But, if I click the "Sav...

ModalPopupExtender displays a black box when it contains a user control

Hi, I'm using the Ajax Control Toolkit's ModalPopupExtender. It works great but when I add a user control to the panel it is set to display, the modal popup is displayed with a black box over it. This is how it looks like: Is anyone familiar with the problem? Is there a workaround? Thanks, Shay. ...

How can i programmatically generate an async request (calling a click event on a registered async control from a non-registered async control)?

On my Application, i've created a "ModalPopupUpdateProgress" schema: My form is composed of several buttons, and only two of them are under the UpdatePanel control. That's because i can't have all of the buttons triggering the UpdateProgress (at least on all situations). Let's focus on the btnSalvar control. <asp:Panel runat="server" ...

Need help with a simple ASP.NET ModalPopupExtender example

Hi, I'm new to ASP.NET and I'm trying to get this Ajax ModalPopupExtender working. This is an example i found on the net, but nothing happens when btnpopup is clicked. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ModalTestProject._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitio...

Prevent closing of ModalPopup on postback

Hi, I'm using the ModalPopupExtender control from the AJAX toolkit. This control extends a panel which contains a CreateUserWizard control. However, the validation of the CreateUserWizard control causes a postback to the server, which closes the popup. I'd like the popup to remain open, even after the postback. From what I can gather, ...

Modal popups for ListView items

Hi, I'm using ASP.NET AJAX Control Toolbox in ASP.NET 3.5 webform app; for each item inside a ListView I create a modal popup - through a modal popup extender - containing an image. Is this efficient? I guess that creating multiple popups in the background, just to show some of them is somewhat costly. Inside each popup I use some data...