Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: Modal Popup Versions [25587]

$
0
0
When I using 3.0.20820.0 the modal popup is working fine. In the same project I removed 3.0.20820.0 and added 3.0.30930.0.

After the change the modal popup was then displaying on the page AND in popup. Resulting in an error, there was 2 identical controls created on the same page


<asp:ImageButton ID="ImgbtnNew" runat="server" ImageUrl="../images/new_icon.png" onclick="ImgbtnNew_Click" /> //call modal popup from codebehind

<cc1:ModalPopupExtender ID="LinkButton1_ModalPopupExtender" runat="server"
DynamicServicePath="" Enabled="True" TargetControlID="lbdummy" OkControlID="btnSave" OnOkScript=""
BackgroundCssClass="modalBackground" DropShadow="true" PopupControlID="PanelPOP" CancelControlID="ButtonCancel" PopupDragHandleControlID="PanelPOP">
</cc1:ModalPopupExtender>
<asp:LinkButton ID="lbdummy" runat="server" Style="display: none"></asp:LinkButton>

<asp:Panel ID="PanelPOP" runat="server" CssClass="PopPanel" DefaultButton="btnSave">
<table width="700">
<tr><td class="button"><asp:Label ID="lblText" CssClass="lblText" runat="server" Text="Add Award"></asp:Label></td><td class="button" align="right"><asp:ImageButton ID="ButtonCancel" runat="server" ImageUrl="../images/x.gif" /><asp:Label ID="lblPKEY" runat="server" Style="display: none"></asp:Label></td></tr>
<tr><td style="width: 240px" >File</td><td><asp:FileUpload ID="FileUploadMods" runat="server" Height="22px" Width="500px" /></td></tr>
<tr><td style="width: 240px" >Description</td><td style="width: 539px"><asp:TextBox ID="txtdescription" TextMode="MultiLine" Height="50px" Width="500" runat="server"></asp:TextBox></td></tr>
<tr><td style="width: 240px" >Notes</td><td style="width: 539px"><asp:TextBox ID="txtNotes" TextMode="MultiLine" Height="50px" Width="500" runat="server"></asp:TextBox></td></tr>
<tr><td style="width: 240px" >Misc Date</td><td style="width: 539px">
<asp:TextBox ID="txtmiscdate" runat="server" ></asp:TextBox></td></tr>
<cc1:CalendarExtender ID="txtmiscdate_CalendarExtender" runat="server" TargetControlID="txtmiscdate">
</cc1:CalendarExtender>
<tr><td valign="top">Reason</td><td><asp:DropDownList ID="ddlReason" runat="server" DataSourceID="SqlDataSourceReasons" DataTextField="ModificationReason" DataValueField="PKEY"></asp:DropDownList></td></tr>
<tr><td style="width: 240px" class="button"></td><td style="width: 539px" class="button"><asp:Button ID="btnSave" runat="server" Text="Save" UseSubmitBehavior="false" onclick="ButtonUpdate_Click" /></td></tr>
</table>
</asp:Panel>
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>