Enforce Visibility of any Node

6 posts, 1 answers
  1. Haroon
    Haroon avatar
    38 posts
    Member since:
    Dec 2007

    Posted 25 Sep 2008 Link to this post

    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.
  2. Answer
    Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 26 Sep 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Hassan
    Hassan avatar
    15 posts
    Member since:
    Jan 2009

    Posted 15 Jan 2009 Link to this post

    Hi,

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

    Thanks

    Hassan
  5. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 15 Jan 2009 Link to this post

    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.
  6. Subh
    Subh avatar
    8 posts
    Member since:
    Sep 2009

    Posted 24 Sep 2009 Link to this post

    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
  7. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 26 Sep 2009 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready