modalpopupextender

How to make ModalPopup drag/drop

。_饼干妹妹 提交于 2019-12-04 16:21:11
I use a ModalPopupExtender from the Ajax ControlToolkit in my Webapplication.I set it's Drag property is true,but when I drag the popup panel and drop it at the new position,it comes back the original position at once.I want to get the effect like the Sample, can drag/drop at different position. How in the example on the page .. http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx Here My Code: <form id="form1" runat="server"> <asp:scriptmanager id="ScriptManager1" runat="server"> </asp:scriptmanager> <asp:button id="btnAddNew" runat="server" text="New Expanse

ModalPopupExtender and validation problems

南笙酒味 提交于 2019-12-04 00:27:18
The problem I am facing is that when there is validation on a page and I am trying to display a model pop-up, the pop-up is not getting displayed. And by using fire-bug I have noticed that an error is being thrown. The button that is used to display the pop-up has cause validation set to false so I am stuck as to what is causing the error. I have created a sample page to isolate the problem that I am having, any help would be greatly appreciated. The Error function () {Array.remove(Page_ValidationSummaries, document.getElementById("ValidationSummary1"));}(function () {var fn = function ()

showing message box on control's modal popup extender

ε祈祈猫儿з 提交于 2019-12-02 10:54:18
问题 I have a control inside a page that has the following modal popup extender: <asp:Panel ID="pnl_Completed" runat="server"> <asp:Image ID="exit_Completed" runat="server" ImageUrl="" /> <h3 style="text-align:center;">Completed</h3> <asp:Panel ID="pnl_inner" runat="server"> <table style="width:100%;height:100%" cellpadding="5px"> <tr style="height:40px;"> <td valign="top">Comment: </td> <td> <telerik:RadTextBox ID="txt_CompletedComment" runat="server" TextMode="MultiLine" Rows="6" Width="400"

showing message box on control's modal popup extender

你。 提交于 2019-12-02 07:51:08
I have a control inside a page that has the following modal popup extender: <asp:Panel ID="pnl_Completed" runat="server"> <asp:Image ID="exit_Completed" runat="server" ImageUrl="" /> <h3 style="text-align:center;">Completed</h3> <asp:Panel ID="pnl_inner" runat="server"> <table style="width:100%;height:100%" cellpadding="5px"> <tr style="height:40px;"> <td valign="top">Comment: </td> <td> <telerik:RadTextBox ID="txt_CompletedComment" runat="server" TextMode="MultiLine" Rows="6" Width="400" Height="100"></telerik:RadTextBox> </td> </tr> <tr style="height:40px;"> <td colspan="2" align="center">

AJAX ModalPopup Pops Behind (Under) Page Content (Negative z-index)

末鹿安然 提交于 2019-12-02 04:32:33
I am having an issue with the AJAX ModalPopupExtender in version 40412 of the AJAX Control Toolkit ( http://ajaxcontroltoolkit.codeplex.com/releases/view/43475 ). The first time the ModalPopup is made visible it works correctly. The z-index is set to 6001 (and the background Div's z-index is set to 6000) and the Popup appears above everything else. If the cancel button within the ModalPopup is clicked, it also has the correct functionality, the display is set to "none" and the ModalPopup is no longer visible. However, when the Popup is triggered again, the z-index is only set to 2000 which is

ASP.NET - Dynamic ModalPopupExtender

北战南征 提交于 2019-12-02 04:07:28
I have an ASP.NET page that has dynamically created LinkButton elements. Please note that these LinkButton elements are not added to a DataGrid, GridView, or Repeater. When a user clicks on one of these LinkButton elements, I want to display a dialog box. To accomplish this, I was attempting to use a ModalPopupExtender and set its TargetControlID when a user clicked one of the LinkButton elements. Unfortunately this is not working. Does anyone know how I can use the same ModalPopupExtender with multiple LinkButton elements? Thank you! I would do it thusly: <a href="#" onclick="doPopUp()" Text=

ASP.NET: ModalPopupExtender prevents button click event from firing

心已入冬 提交于 2019-11-30 06:54:25
Here is what I'm trying to do: Click a button on my page, which in turn makes (2) things happen: Display a ModalPopup to prevent the user from pressing any buttons or changing values Call my code behind method, hiding the ModalPopup when finished Here is the ASP markup: <asp:UpdatePanel ID="UpdatePanel2" runat="server" ChildrenAsTriggers="true" UpdateMode="Always"> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnSaveData" EventName="Click" /> </Triggers> <ContentTemplate> <asp:Panel ID="pnlHidden" runat="server" style="display: none;"> <div> <h1>Saving...</h1> </div> </asp:Panel> <cc1

modalpopupextender and commas appearing in my textbox asp.net

喜夏-厌秋 提交于 2019-11-29 22:39:12
Some weird stuff is happening, I am converting an application that used to use javascript to open another web page in a tiny window for data input to use a ModalPopupExtender. It seems to work fine, but in the OK event, when I do txtData.Text (the textbox in my modal popup), it comes back with a comma before the data, so if you type "Rabbit", it comes back as ",Rabbit". Also when I use it multiple times, in another place where I might click to show it, and type "Fish", it starts coming back with stuff like ",Rabbit,,Fish" I don't know why or how to stop it from doing this... any ideas? For

PopUpExtender on ImageButton inside GridView problem

独自空忆成欢 提交于 2019-11-29 08:08:15
I have GridView on my asp.net page, one column in that grid is ImageButton (TemplateField with ID="imbReserve"). On click on that button I want to show PopUp, but when I put TargetControlId="imbReserve" I get error message " A control with ID 'imbReserve' could not be found". How to achieve this, on click on button inside Grid show PopUp ? Have a look at these 2 articles, that just helped me out with this problem Article 1: A More Traditional approach The Following is paraphrased from the above article The Page Code: <asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">

ASP.NET: ModalPopupExtender prevents button click event from firing

蹲街弑〆低调 提交于 2019-11-29 07:55:50
问题 Here is what I'm trying to do: Click a button on my page, which in turn makes (2) things happen: Display a ModalPopup to prevent the user from pressing any buttons or changing values Call my code behind method, hiding the ModalPopup when finished Here is the ASP markup: <asp:UpdatePanel ID="UpdatePanel2" runat="server" ChildrenAsTriggers="true" UpdateMode="Always"> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnSaveData" EventName="Click" /> </Triggers> <ContentTemplate> <asp:Panel ID=