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

Programmatically expand/select node in virtualizing tree

8 Answers 231 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ruben Hakopian
Top achievements
Rank 1
Ruben Hakopian asked on 20 Jul 2010, 08:01 PM
Hi,

I want to check with you what is the right way to programmatically expand and select a node in a tree view which is using virtualization in recycling mode. The tree may be full of nodes and those nodes may not be visible on the screen at that moment.

Can you please provide a sample application which demonstrates how to achive that.

Thank you,
Ruben.

8 Answers, 1 is accepted

Sort by
0
Accepted
Viktor Tsvetkov
Telerik team
answered on 21 Jul 2010, 05:14 PM
Hello Ruben Hakopian,

Attached is a sample project, could you please review it and tell me if it works for you. If you have further questions do not hesitate to ask.

On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverlight applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx

Regards,
Viktor Tsvetkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ruben Hakopian
Top achievements
Rank 1
answered on 22 Jul 2010, 12:47 AM
Hi Viktor,

Thanks for the sample. It works as expected.

However, there is another issue with the treeview when it is using virtualization. 
When scrolling all the way down and using the mouse wheel even lower, some of the nodes in the tree gets hidden. When you scroll up then appear back again. Did you notice this behaviour before? Also it happens only when virtualization is turned on.

Thanks,
Ruben.
0
Miroslav
Telerik team
answered on 27 Jul 2010, 08:35 AM
Hello Ruben Hakopian,

Which version of the controls are you using?

I tried reproducing this with the latest version, my project is attached.

Possibly there is something that I am missing - can you help me with reproduce this?

Sincerely yours,
Miroslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
rubenhak
Top achievements
Rank 1
answered on 27 Jul 2010, 06:57 PM
Hi Miroslav,

I compiled the project you've sent in Visual Studio 2080 with .NET 3.5. This problem is still there. 
I'm using v. 2010.1.422.35.

Just scroll all the way down and then use the mouse wheel to scroll even more :) Tried on different
machines and it happens everywhere. Attached is a screenshot.

Thank you,
Ruben.

0
Miroslav
Telerik team
answered on 28 Jul 2010, 03:29 PM
Hi rubenhak,

Yes, I confirmed that this bug exist in the 2010.1.422 version.

It has been fixed for the following official release - would it be possible for you to upgrade?

Another suggestion is to download the weekly internal build for the Q1 release. Since this is a bug, I expect that the fix will be available there as well.

Regards,
Miroslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
rubenhak
Top achievements
Rank 1
answered on 28 Jul 2010, 05:27 PM
Hi Miroslav,

Can you confirm if it is fixed in 2010.2.0714?

Thank you,
Ruben.
0
Miroslav
Telerik team
answered on 29 Jul 2010, 08:27 AM
Hello rubenhak,

Yes, you can find the same example attached with the 2.0714 dlls.

Regards,
Miroslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
rubenhak
Top achievements
Rank 1
answered on 29 Jul 2010, 06:24 PM
Thank you!
Tags
TreeView
Asked by
Ruben Hakopian
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Ruben Hakopian
Top achievements
Rank 1
Miroslav
Telerik team
rubenhak
Top achievements
Rank 1
Share this question
or