By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,163 Members | 1,458 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,163 IT Pros & Developers. It's quick & easy.

Treeview webcontrol problems with javascript

P: n/a
Sun
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>
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sun,

I see no vbnet language part, do you have that as well?

I see in your current code by the way no any relation to that.
Cor
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.