Learn how to a build a cloud-first strategyRegister Now


How to expand a tree node when it's checked?

Posted on 2007-10-02
Medium Priority
Last Modified: 2008-01-09
Hi experts,

How can I expand a tree node when it's check box is checked or unchecked?

I also have a JavaScript function that runs after any node on the tree is checked that checks/inchecks its child nodes

i.e. onclick="treeViewCheck(event)

and i need this to run AFTER the tree node is expanded  

 Thanks a million
Question by:kateL
  • 2

Accepted Solution

srinivasbn earned 200 total points
ID: 20005271

Write the code in AfterCheck event. The event will be handled in this event. Now write the expanding the selected node.

Author Comment

ID: 20019155
Hi srinivasbn,

So do you know the code for expanding the selected node with javascript?

I've been looking on the web for ages and can't find it

Expert Comment

ID: 20028108

I am really sorry, i am not well in javascript.

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month21 days, 6 hours left to enroll

810 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