c# - make Footer template visible and invisible in button click -
i have grid footer template. consists of text box in add value , after clicking btnadd value present in footer template append main grid. below footer template. want make footer template visible on clicking btnadd. how make visible , invisible on button click. note: button located outside grid.
<footertemplate> <asp:textbox id="txtfactor" style="margin-left: 210px" visible='<%# isineditmode %>' runat="server" > </asp:textbox>
you set gridview.showfooter = isineditmode
codebehind on button-click.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.showfooter.aspx
Comments
Post a Comment