modalpopup

How can I trigger a server-side event from a client-side event?

Short version All I need is that, in a ModalPopUp, when the DoubleClick event of a ListItem fires, the click event of my OK button should be executed. Detail I have a ModalPopUpExtender, which hosts a user control. The user control has an OK and a Cancel button. Along with that, it has a dynamic ListBox added to it. So far, I've consi...

show image gallery on modal popup

hi,, i have a dropdownlist containing some items,,,on selecteditem index i have displayed modal popup,,,this modal popup is used to show image gallery,,i have seen some posts where datalist is used to show images but they dont seem to work efficiently,plz provide some posts which show image gallery and enlarge them as well.... ...

ModalPopup CodeBehind Function Wait For User Response

I have set up a function which returns an enum of the button that the user clicked in the ModalPopup. I have a variable of type enum to store which button the user clicks in the button click event. In this function, I call the ModalPopupExtender's Show() method. My problem is, the function finishes out and returns the default enum (wh...

Jquery modal window problem

All, Can u please tell me whats wrong with the following code.I am trying to open a modal window here and the contents of it is a text box. Also i get the java script error .dialog is not a function. <html> <head> <script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; <script> $(docum...

DropDownList in ModalPopup/UpdatePanel intermittently does not fire SelectedIndexChanged

I've got a UserControl that's used inside of an UpdatePanel. The UserControl is a fairly simple form that appears via a ModalPopupExtender (which is also part of the UserControl). There are four DropDownLists, as well as some other UI elements. Three of the four DropDownLists have AutoPostBack="true", with SelectedIndexChanged events ...

javascript - problem with positioning the "mask" area of a modal popup on different resolutions

The "mask" area I'm referring to is the dark background area behind the popup itself. Right now it looks perfectly centered up on a 1280X1024 resolution but any other resolution and the "mask" area is off-centered. It shows up pushed to the left of the screen. Here's the JS, if you need the markup layout let me know. $(document).ready...

JQuery Click Event Problem

Im creating modal popup using jquery. Im firing the modal pop up through button click event and the corresponding code here $(document).ready(function () { $("#Button1").click(function () { el = document.getElementById("overlayDiv"); el.style.visibility = "visible"; el1 = docu...

ModalPopUp NumericUpDownExtender Problem

My Code is: <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:Button ID="Button1" runat="server" Text="Button" /> <asp:Panel ID="Panel1" CssClass="modalPopup" runat="server"> <div id="modal" runat="server"> <asp:TextBox ID="Tex...

button inside modalpopup doesn't fire the event

hi, i've a simple search form with two textfield and on button. the result is displayed in gridview. All this is inside a modalpopup. the content of the modalpopup (the controls) are in the same page (parent page). i am not using iframe and updatepanel. the problem i've now is: when i click on the search button (btnFind), the event does...

textfield value empty when i fill it with javascript

i am using modalpopup to enter some value in a textfield. after the value is selected in the modalpopup view, the modalpopup is closed and the value has taken the propriate value. Even if the value is displyed in the textfield, the textfield1.text returns me string empty. when i see the source code (html), i see that even that the textfi...

Display modal after postback without ASP.NET Ajax

I have an ASP.NET button. When the button is clicked, I'd like a modal popup to display after the server-side code for the button runs. I don't want to use the ASP.NET Ajax control toolkit modal popup extender. With ASP.NET Ajax, I can hook into the end request event. Is there a way to do this without ASP.NET Ajax. just jQuery? I ba...