Hi,
In the treeView you can use the TreeNodeCheckChanged event for the checkbox click.
In the MSDN's TreeView.TreeNodeCheckChanged Event , you could get more inforamtion.
if you find the the treeview could not PostBack, I am afraid you should require javascript. Below is a simple example:
<script language="javascript" type="text/javascript">
function postBackByObject()
{
var o = window.event.srcElement;
if (o.tagName == "INPUT" && o.type == "checkbox")
{
__doPostBack("","");
}
}
</script>
<asp:TreeView ID="TreeView1" EnableClientScript="true" onclick="javascript:postBackByObject()" runat="server" DataSourceID="SiteMapDataSource1" LineImagesFolder="~/TreeLineImages" ShowLines="True" OnTreeNodeDataBound="TreeView1_TreeNodeDataBound" OnTreeNodeCheckChanged="TreeView1_TreeNodeCheckChanged" ShowCheckBoxes="All">
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Yours sincerely,
Amanda Wang
Microsoft Online Community Support