I have a grid with footer template. It consists of a text box in which i will add some value and after clicking btnAdd the value present in the footer template will append to the main grid. Below is my footer template. I want to make the footer template visible only on clicking btnAdd. How to make it visible and invisible on some button click. Note: button located outside grid.
<FooterTemplate>
<asp:TextBox ID="txtFactor" Style="margin-left: 210px" Visible='<%# IsInEditMode %>' runat="server" >
</asp:TextBox>