Anjali Khan

Anjali Khan

  • NA
  • 867
  • 224.5k

how to show submit button when click on treeview in any node

Dec 22 2017 3:38 AM
Hi frnds
how to show submit button when click on treeview in any node .
i have treeview with buttons . i hide button submit on page load ,which i showed in below code .
here i want if i click on ant node or subnode submit button should be display or enable so how to do this ?
<div id="CheckBoxList1">
<asp:Label ID="lbl" runat="server" Text= "send"></asp:Label>
<br />
<asp:TreeView ID="TreeView1" runat="server" ShowExpandCollapse="false" Checked="false"></asp:TreeView>
</div>
<br />
<br />
<div id="div1">
<asp:Button ID="btnSubmit" Style="display: none" runat="server" Text="Send" CssClass="btn btn-primary" />
<asp:Button ID="btnBack" runat="server" Text="Back" CssClass="btn btn-primary" ToolTip="Click To Back" />
</div>

Answers (7)