modalpopupextender

Ajax:ModalPopup js exception, BackgroundCssClass is null

Hi I use a modal popup extender, i followed all the instructions on the toolkit sample page, except that i didn't set the property BackgroundCssClass. this is what happens: Is there a way I can get rude of it without setting the cssclass prop? I don't need any styles. If the answer is NO then please show me an example how to set it ...

can't make Click Event to work properly inside modalPopupExtender

I have a page which loads children pages by using jQuery's .load function... My children pages have buttons to perform some data exchange with the database server and most of them are doing ok. the problem is that some buttons are inside ModalPopupExtenders (ajaxtoolkit). When I run the children page alone (outside the parent) the moda...

ASP.NET AJAX Modal Popup Extender Responding to Server Code on Timer

I have a modal popup extender tied to a asp:panel control that I want to show when the timer on an asp:updatepanel reloads executes the tick method. The tick method calls another method that checks for specific conditions and if all the conditions are met, I call: ClientScript.RegisterClientScriptBlock(this.GetType(), "key", "$find('mo...

Refresh gridview inside update panel after modal popup closes

Hey everyone, I'm having a heck of a time trying to get a gridview to refresh its data after a modalpopup adds a new record to the database. Ive tried the following with no luck. <cc2:ModalPopupExtender ID="mdlPopup" runat="server" OnOkScript="__doPostBack('<%= gvRecommendations.ClientID %>', '');" BackgroundCssClass="modalBackground"...

Asp.net modalPopupExtender repositioning

Hi there, By default, when using a modalPopupExtender from the ajaxControlToolkit - it is repositioned in the centre of the browser when the browser window is resized. I'm guessing this is some kind of javascript hooked into a window.resize method? I am altering the size of the panel associated with the extender, which puts the popup...

How to have a link in one placeholder open a ModalPopup in a different placeholder ?

I have a page with different placeholders. In one of them, I have a link that I want to open a modal popup in a second placeholder (using the ajaxtoolkit ModalPopupExtender) : <asp:Content ID="content1" ContentPlaceHolderID="placeholder1" Runat="Server"> <asp:LinkButton ID="link" runat="server" Text="Popup link" /> </asp:Content> <a...

How to control ASP.NET ModalPopupExtender after AsyncPostBackError

Hi there, I have a pretty simple question which I'm sure somebody has come across before. I am using an AJAX ModalPopupExtender to initiate an Ajax request. In the event of an error I want to raise an alert and hide the Ajax ModalPopupExtender. My attempts of hiding the ModalPopup extender and displaying the exception as an alert have...

Opening popup without a server request.

Hi All, We are trying to develop a timeout feature in application where we want alert user saying that the application log out will happen in x time will display the count down timer. Once the timeout we will be force fully logging out the user. For displaying the log out information we thought of displaying a pop-up with relevant messa...

I Want to use ModalpoupExtender for tree view in Dotnet Nuke .....but its not working ...how i can use it ??

I m trying to use Modalpop Extender control for Treeview in Dotnet Nuke ..but its not working ...can u please provide me solution ???? ...

ModalPopupExtender closing as soon as it opens

Hi, I'm trying to use the AjaxToolkit's ModalPopupExtender, but it doesn't work. In fact, as soon as it opens, it's getting closed. So I can see that it is rendered, but it's getting closed in the second. I tried that with IE6 and Firefox 3, it does the samething. Here's the code: <AjaxControlToolkit:ModalPopupExtender ID="ModalPopup...

ModalPopUpExtender shown from server-side: Controlling focus.

I have a user control that contains a gridview and a ModalPopupExtender (MPE). I'm using the MPE to force user decisions after certain ItemCommands from the gridview using the server-side Show() method. Showing the popup and getting postbacks or client-side scripts to execute from the popup both work beautifully. The issue at hand is t...

ModalPopupExtender problem

Hi I have a control with lots of textboxes and repeater inside a ModalPopupExtender how do i get those controls values? ...

To show Modalpopup in javascript

hi guys, I have a modal popup extender as follows <div id="target" runat="server"></div> <cc1:ModalPopupExtender ID="ModalPopupExtender1" BehaviorID ="Modal" runat="server" TargetControlID="target" BackgroundCssClass="modalBackground" PopupControlID="Panel1"></cc1:ModalPopupExtender> <asp:Panel ID="Panel1...

Simple Modal add form dialog (telerik asp.net ajax)

I have a RadTreeView in which there is a context menu to "Add" new items to the RadTreeView. I have all the code to do this but I simply want a modal window/popup/dialog to launch in which I can have my simple add form. What control (Telerik or not) would be best to handle this need? I don't want to use RadWindow since that is like an...

ModalPopUpExtender makes popupcontrol invisible

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1...

ASP.NET + ModalPopupExtender + Click Event

Hello, 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 event is not being reached. Here is the main code: <asp:Panel ID="dialogContinuePa...

ASP.NET ModalPopupExtender not rendering correctly

I have a fairly straight forward screen that contains two modal popups. The first confirms a delete type operation and the other allows you to edit form details. As soon as you open either for the popups they appear like they should but do not go away. At the bottom of the page they are rendered by asp.net with the exact same markup. I...

ASP.NET ModalPopupExtender Issue

Hey guys, I'm having an issue with a modal popup extender. What I'm doing is assigning it to a "hidden" button and on the click method of a different button, I'm calling modal.Show(); When the task behind is doing nothing, or small operations, it works just fine. The issue is when I make a call to a stored procedure, it doesn't show the...

problem in panel when using with ajax modal popup control

hi i have 2 panel and and using ajax modalpopup control ...

Why can't I hit the event handler in the code behind doing a modal popup postback

I am basically trying to do what this article says. link text I am able to postback, but my handler is not getting hit. Any ideas? Code Behind protected void Page_Init(object sender, EventArgs e) { WireEvents(); } private void WireEvents() { btnAuthOk.Click += new EventHandler(btnAuthOk_Click); ...