Im using treeview in asp.net
how can i check if parent contains childnodes in treeview selected node changed event.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In case you want to look if the parent of the selected node contains other children nodes, it is safe to say
since you know that it already has at least one child node (the selected one)
I would however make another check if there is indeed a parent such as