I have a treeview with textbox in asp.net c#. I want to select the checkbox by clicking on the treeview node name. How is it possible?
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rahul BansalPosted Apr 27, 2015, 7:06 AM
ASPX Page:
.CS File
protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
{
CheckBox1.Checked = true;
CheckBox1.Text = TreeView1.SelectedNode.Text;
}