Page 1 of 1

How to read a Rad Tree control in a silverlight application

Posted: Mon Aug 01, 2011 7:48 am
by rekha1234
Hello,

I need to automate reading a tree control in a silver light application. Here is the scenario.

I have couple of items in the tree control with a check box for each item and a hyperlink.I need to verify that when ever i click on the hyperlink of the tree item, only respective tree item should be checked and all the other items in the tree shoulbe unchecked.(note that each tree item may have children and i need to verify that all the children of the tree items are also unchecked). Please find that attached snapshot of the Tree. Also, i have attached a screen shot of the Tree with Checkboxes and hyperlinks.Can someone help me in this?

Re: How to read a Rad Tree control in a silverlight application

Posted: Tue Aug 02, 2011 10:12 am
by Support Team
Hi,
rekha1234 wrote:Can someone help me in this?
I would suggest you to write a recursive method which check your tree items and check if only the one is checked which you expect.
Please take a look to following tutorial for the basics of recursive method
http://www.dotnetperls.com/recursion

Regards,
Peter
Ranorex Team