This is a migrated thread and some comments may be shown as answers.

bug: Collapse then expand, selected item not focused

6 Answers 85 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
james
Top achievements
Rank 1
james asked on 18 Dec 2008, 10:09 AM
add a few items to a treeview, select one of the items, collapse the parent item, expand again, the focus goes to the next item.

for example:

a
--a1
--a2
--a3
b
--b1
--b2
--b3

if I select a2, collapse a, expand it again, focus of a2 goes to a3,
if I select a3, collapse a, expand it again, focus of a3 goes to b

6 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 18 Dec 2008, 03:45 PM
Hey James,

I just tested this on the online demos and in the TreeView on a project I am working on and it isn't doing this for me...  Which build of the controls are you using?  I'm on the latest demo (.1117?) and have no problems.

Is there anything else going on in the page or your cs, or do you get this with just that control on the page?
0
james
Top achievements
Rank 1
answered on 19 Dec 2008, 08:03 AM
I am using 2008.3.1117.1020. and the usage is the simplest one:

RadTreeViewItem item = new RadTreeViewItem() { Header = FooName, Tag = FooID };
collection.Add(item);

where collection is something like FooTreeView.Items  and I do not customize the control, just add a new RadTreeView.

btw. what I mean focus is NOT the selection, but is the thin and dotted rectagle around the node.
0
Konstantin Petkov
Telerik team
answered on 19 Dec 2008, 09:52 AM
Hello,

We have to confirm this issue is still applicable with the latest (just released) SP2 of RadControls for Silverlight. It will be fixed in a future version of the product.

Thanks for your report, James. You will find your Telerik points updated. Please accept our apologies for any inconvenience this is causing.

Sincerely yours,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
james
Top achievements
Rank 1
answered on 26 Dec 2008, 05:24 AM
hi, sorry reply late, do you mean Version 2008.3 1217? shall I download Automatic installation:  or Futures (automatic installation):  ?
0
Konstantin Petkov
Telerik team
answered on 26 Dec 2008, 07:59 AM
Hi James,

As I mentioned previously, the problem is still observable with latest version of RadTreeView for Silverlight. The control is exactly the same in both the standard and the "Futures" version you listed. You can download the "Futures" one to play with the brand new Docking layout tool and RadGridView for Silverlight though. See this post on the blogs for more details.

Let us know if you have any other questions.

All the best,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
james
Top achievements
Rank 1
answered on 26 Dec 2008, 09:53 AM
ok, the latest 2008.3.1217.1020 still has the problem.
Tags
TreeView
Asked by
james
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
james
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or