i want to know how to activate modal popup extender only on some condition and that to on button click
activate modal pop up
can any body help me
View Complete Post
I have an ajax modal popup extender in update panel. The modal popup extender has a label , checkbox and a dropdown list. When i open the popup first time (i.e Page_load) and select something and click on ok the data is populated correctly in another grid. If i open the popup second time and select some data and click on ok it is populating the grid with the current selected data as well as previously selected data. Please provide me with the solution with this issue..
Hello. Im using a modal popup extender to tell my user that the page has successfully been updated and then redirect them to a new page with the ok button. The thing is that i do NOT want this extender to fire when i press the button. I would rather call the Show() function myself. Right now i have a simple test page with a button that calls the popup extender Show() function but Nothing happens. If i set the targetID to the button it works but Im not able to call it through codebehind.
This back button works fine and goes back to the first page. However when the user is on the second page and opens the pop up by clicking on the link button, the back button stop working and displays Webpage has expired message.
Any help would be appreciated.
how can i add multiple targetcontrolids to a modal popup extender..
I've build a Modal Popup extender with a DataBound DropDownList. The only problem I've got is that the DropDownList is being filled in the Page_Load. Even when I put the binding in the Load of the Modal PopUp extender there is no data inside my Dropdownlist.
What am I doing wrong here? Because everything should work when I hit the TargetControlID. Can anyone help me out here?
thanks in advance.
This should be a quick "yes" answer - I am in the process of creating a very simple test, but I thought I'd ask on here too (also, so other people might be able to find the answer, if they have the same problem).
I have created a modalpopupextender that opens up a panel containing an update panel. I have a cancel button that is tied into the MPE's [CancelControlID] property and this closes the popup when I click it. However, if I perform a partial postback within the update panel, the cancel button no longer works. I have found an example online that seems to imply that the cancel button (and I'm guessing, by association) and the OK button should be outside the update panel. Does the partial postback break the buttons' client script bindings, and thus should they always be placed outside the update panel?
When i try to submit the page which has modal popup extender,popup extender becomes visible! How can i avoid this?
Thanks in advance.
How can i make modal popup extender dynamic size which is populated by SqlDataSource???
Here is the code below ;
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lblPopupTargetID"
PopupControlID="Panel1" BackgroundCssClass="modalBackground" DropShadow="true" />
<asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" Width="450px" Height="300px">
<asp:UpdatePanel runat="server" ID="UpdatePanel1">
<asp:GridView ID="GridView1" DataSourceID="SqlDataSource2" runat="server" AutoGenerateColumns="False"
Width="450px" Height="300px" AllowPaging="true" PageSize="10">
<asp:Button ID="btn" runat="server" Text="Select" CausesVa
i have a question, i have a list box with a button below that, when user click on the button
modal popup will open (created by Ajax modal Extender ) then user enter somthing on the text box and click on the save
next, modal popup will close , and user can see his/her added item in the list box,
how can i add some progress bar showing 3 to 5 seconds progress right after closing modal popup window?
my code has enclosed:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="MainSystem.aspx.vb" Inherits="MainSystem" %>
<%@ 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">
<style type="text/css" >
<html xmlns="http://www.w3.org/1999/xhtml" >
I'm struggling with getting my modal popup extender to behave as I want it to.The problem is as follows:
To add a new post to my database, I click my button "Ny melding" (btnAdd_Click).My popup shows, all OK. But in case I want to abort this new post, so I click "Avbryt" in the footer (btnClose_Click).
If I then click "Vis/Endre" in my gridview gvMeldinger (btnViewDetails), my modal popup doesn't pop up again.
And even if I now try to add a new post by clicking "Ny melding" (btnAdd_Click), this doesn't work.
Am I missing something essential and basic stuff here??Do I need to empty any buffer/cahce, or reset my global variables MidlerTB (TextBox(, Midler (String) and NyDatoStreng (String)??And in case yes - how do I accomplish this??
Thanx in advance.
Outtake from my code in my aspx file:
<asp:Table ID="Table3" runat="server" Height="350px" Width="60%"> <asp:TableRow> <asp:TableCell Width="100%" BorderStyle="Solid" VerticalAlign="Top" CssClass="gjoremal"> <
I am using Ajax Popup extender as confirmation window. In my page, I am having multiple post backs for different cases. If I display ajax Popup extender, first few times it is working fine. After that, It is crashing the browser and i have to close the browser or it is closing the browser automatically.
Any Idea why it is happening? Did i miss anything?
My App details
IE Version : 6.0
.Net version: 3.5
Ajax version: 3.0.30512.20315