Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PageView > Making The Selected Tab Visible

Not answered Making The Selected Tab Visible

Feed from this thread
  • Don Tompkins avatar

    Posted on Nov 22, 2011 (permalink)

    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.

    Reply

  • Stefan Stefan admin's avatar

    Posted on Nov 24, 2011 (permalink)

    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.

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PageView > Making The Selected Tab Visible