c# - Open a panel on a link button click (Panel contains checkbox list) -


i need here. have grid view columns. 1 of column in gridview linkbutton. panel contains preloaded checkbolist values , want open panel on click of gridview link button using jquery. once panel opened on link button click want check checkboxes particular offer row , on click of "ok" button want save checked columns gridview hidden column. please see screenshot , code below , me in figuring out. please note cannot use ajax controls due restrictions on our server.

enter image description here

// panel code

<asp:panel id="plnclone" runat="server" width="150px" style="border: 1 double #000000;">                                     <table width="98%" style="border: 1px double #000000; text-align: left;">                                         <tr>                                             <td>                                                 <asp:panel id="panel1" runat="server" width="150px" height="250px" scrollbars="vertical">                                                     <asp:checkboxlist id="chklistreferralcodes" runat="server">                                                     </asp:checkboxlist>                                                 </asp:panel>                                             </td>                                         </tr>                                     </table>                                 </asp:panel>                                 <asp:hiddenfield id="hfdcloneoffer" runat="server" />                                 <input type="button" id="okclone" value="ok" />                                 <input type="button" id="cancelclone" value="cancel" /> 

you can try use jquery dialog link here add panel , use opening function on onclientclick link button event. hope helps.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -