G
Guest
Hi All,
I am facing a prob with treeview with check boxes
When ever a javascript funtion is associated with Treeview, I am not able to
retrice the Values of checkboxes in the tree. When no Javascipt function is
associatead, every thing works fine.
Is it something to do with viewstate??
any help appreciated?
Sun
<ie:TreeView runat="server" id="TreeView1" AutoSelect="True">
<ie:TreeNode CheckBox="True" Text="My first Tree Node">
<ie:TreeNode CheckBox="True" Text="My second Tree Node">
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
</ie:TreeNode>
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
</ie:TreeNode>
</ie:TreeView>
<script for="TreeView1" event="oncheck">
var s = ""
var ev = window.event.srcElement
alert(ev);
</script>
I am facing a prob with treeview with check boxes
When ever a javascript funtion is associated with Treeview, I am not able to
retrice the Values of checkboxes in the tree. When no Javascipt function is
associatead, every thing works fine.
Is it something to do with viewstate??
any help appreciated?
Sun
<ie:TreeView runat="server" id="TreeView1" AutoSelect="True">
<ie:TreeNode CheckBox="True" Text="My first Tree Node">
<ie:TreeNode CheckBox="True" Text="My second Tree Node">
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
</ie:TreeNode>
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
<ie:TreeNode CheckBox="True" Text="My second Tree Node"></ie:TreeNode>
</ie:TreeNode>
</ie:TreeView>
<script for="TreeView1" event="oncheck">
var s = ""
var ev = window.event.srcElement
alert(ev);
</script>