<asp:TemplateField> <itemtemplate> <asp:LinkButton ID="lnkOptions" CausesValidation="false" runat="server" OnClick="options_Click" Text="Option"> </itemtemplate>
protected void options_Click(object sender, EventArgs e) { try { gvrow = (GridViewRow)((LinkButton)sender).Parent.Parent; Load_Options_Panel(); flagQueryReDesign = 1; BindGrid(); //Display Options Panel popup Option_ModalPopupExtender.Show(); } catch (Exception ex) { //////ExceptionClass.LogException(ex, "Configure.cs"); //Could not select the clicked row //Could not Load the Modal Popup After user clicks the option button } }
<asp:Label ID="btnShowPopup" runat="server" Style="display: none"> <AjaxControlToolkit:ModalPopupExtender BackgroundCssClass="modalBackground" ID="Option_ModalPopupExtender" runat="server" TargetControlID="lnkOptions" PopupControlID="OptionPanel" CancelControlID="OptionPanel_Button_Cancel">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)