Radtreeview focus on child folder

Posted by Sandy123 under C# on 2/22/2012 | Points: 10 | Views : 1538 | Status : [Member] | Replies : 2
Hi,

I am having 3 parent folder in my tree view.
After creating a new folder under any of the parent the focus is on parent folder under which the folder is created & parent folder is expanded.

i want the focus on the new folder that is created.

Plzzz can any one help..urgently needed..




Responses

Posted by: Naraayanan on: 2/28/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
Is it windows application?

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Sandy123, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pradeepkumar417 on: 2/28/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

You have to get parent node index of newly created folder, index of that folder and by using Focus() method you can set the focus on child folder like below.

Treeview1.Parent[0].Nodes[1].Focus();

Thanks & Regards,
Software Engineer,
Pradeep Kumar

Sandy123, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response