Making The Selected Tab Visible

2 posts, 0 answers
  1. Don Tompkins
    Don Tompkins avatar
    17 posts
    Member since:
    Apr 2008

    Posted 22 Nov 2011 Link to this post

    Hello, I am using the RadPageView in a dialog box with about 10 different tabs. I want to set the first tab to be selected by default programatically so I use the code:

    RadPageView1.SelectedPage = tabAutomation

    in the form load handler, and this works, however, when the page is rendered the selected tab is not visible. This seems to happen if a tab that is down the line was selected at build time. Is there a property that will bring the selected tab into view at runtime?

    Thanks

    Don Tompkins
    Databound Solutions, Inc.

  2. Stefan
    Admin
    Stefan avatar
    2454 posts
    Member since:
    Sep 2012

    Posted 24 Nov 2011 Link to this post

    Hi Don,

    Thank you for writing.

    I will recommend selecting the desired tab (the first one in your case) at design time - simply select it in the control at design time. This way, this page will be selected at runtime and the page item (tab) will be visible. 

    I have tested the code that you have provided and indeed the tab is not visible, regarding the fact that its page is selected. I will add this into our PITS system, and we will address it in a future release. Here is a link to the item, where you can add your vote for it.

    Your Telerik points have been updated for this report.

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us. 

    Regards,
    Stefan
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

  3. DevCraft Release
Back to Top