Solved

treeview control and javascript, nodes, checkboxes

Posted on 2012-03-12
2
542 Views
Last Modified: 2012-03-14
For the ASP treeview control, I am using checkboxes.  In each node, in the code behind, I am storing a value in the Value property.  On the client side in Javascript I need to find all checked nodes and then obtain the value.  

How can I do this?
0
Comment
Question by:HLRosenberger
2 Comments
 
LVL 16

Accepted Solution

by:
Easwaran Paramasivam earned 500 total points
ID: 37710270
http://www.aspspider.com/resources/Resource1315.aspx
http://www.daniweb.com/web-development/aspnet/threads/178014
http://www.daniweb.com/web-development/aspnet/threads/223832
http://www.mikeborozdin.com/post/ASPNET-TreeView-and-Checkboxes.aspx

You can loopthrough the all checkboxes and get the value if it is selected.

On selecting the checkbox itself you can fire a method and get the value.

Above links could be useful.
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 37721593
Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question