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

Enforce Visibility of any Node

5 Answers 189 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Haroon
Top achievements
Rank 1
Haroon asked on 25 Sep 2008, 05:48 AM
Hi Telerik Team,

(a)   I have populated about 250 nodes in telerik treeview (The Treeview have vertical scroll bar). Now I switch the "AllowIncrementalSearch=True". At run time when I look for item (by typing the text) whos node in currently below the treeview visible region then the treeview dont automatically scrolls down to that node. It do select the right node but dont display it to the user.

(b) During the investigation  for above  scenario  I tried to check the "Ensurevisible" property of standard treeview control was not found. can you please guide me in this regard as well.

Regards,
Haroon.

5 Answers, 1 is accepted

Sort by
0
Accepted
Jordan
Telerik team
answered on 26 Sep 2008, 07:08 AM
Hello Haroon,

Thank you for writing.
It seems that you have found a bug in RadTreeView. I have scheduled it for fixing.
As a workaround you should handle the Selected event of RadTreeView and use the BringIntoView method - example:
void radTreeView1_Selected(object sender, EventArgs e) 
        { 
            this.radTreeView1.BringIntoView(this.radTreeView1.SelectedNode); 
        } 


Kind regards,
Jordan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Hassan
Top achievements
Rank 1
answered on 15 Jan 2009, 11:44 AM
Hi,

Can you please tell me if that bug, you mentioned, in RadTreeView is fixed or still in pending list.

Thanks

Hassan
0
Jordan
Telerik team
answered on 15 Jan 2009, 03:42 PM
Hello Hassan,

Thank you for your question. Yes, the issue was fixed for Q3 2008.

Greetings,
Jordan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Subh
Top achievements
Rank 1
answered on 24 Sep 2009, 01:00 PM
Hi Jordan,

 I am using Q2 2009 version and still i don't find the "EnsureVisible"  property of the treenode. please help me to figure it out further.

Thanks in Advance.
Subh
0
Victor
Telerik team
answered on 26 Sep 2009, 06:09 AM
Hello Subh,

The EnsureVisible() method is implemented and will be available for Q3 2009 release later this year.
Write again if you have other questions.

Regards,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Treeview
Asked by
Haroon
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Hassan
Top achievements
Rank 1
Subh
Top achievements
Rank 1
Victor
Telerik team
Share this question
or