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

change tab programmatically

6 Answers 1179 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Craig Wallace
Top achievements
Rank 1
Craig Wallace asked on 02 Aug 2010, 02:08 PM
Hi,

I have a RadTabStrip and RadMultiPage which loads user controls for each tab.  This I had to do using the PageViewCreated event of the RadMultiPage, but at least it works.

Now, I need to be able to navigate through the tabs from one of my user controls that are loaded into the PageViews in the RadMultiPage.  If I set the RadTabStrip.Tabs[i].Selected = true then the tab is selected, but the assosciated PageView is not shown.

How can I programmatically get the PageView to show?

Thanks.

6 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 02 Aug 2010, 03:31 PM
Hi Craig,

You should also select the pageview:

RadMultiPage1.PageViews[i].Selected = true;

Regards,
Yana
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
Craig Wallace
Top achievements
Rank 1
answered on 02 Aug 2010, 03:33 PM
Hi Yana,

Thanks, that seems to work.  I assumed there would be some cleaner way but that will do I guess.

Craig
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 06 Oct 2020, 09:57 PM
Is there a way to force "busy/thinking" icon, that i get when i click on tab manually?
0
Vessy
Telerik team
answered on 08 Oct 2020, 07:50 AM

Hi David,

You can do that by showing/hiding an AjaxLoadingPanel like explained here:

https://docs.telerik.com/devtools/aspnet-ajax/controls/ajaxloadingpanel/how-to/show-and-hide-ajaxloadingpanel-explicitly

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 08 Oct 2020, 01:54 PM

Thank you Vessy!

I'll give it a try

0
Vessy
Telerik team
answered on 08 Oct 2020, 02:05 PM

Hi,

You are welome as always, David :)

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TabStrip
Asked by
Craig Wallace
Top achievements
Rank 1
Answers by
Yana
Telerik team
Craig Wallace
Top achievements
Rank 1
David
Top achievements
Rank 1
Iron
Iron
Veteran
Vessy
Telerik team
Share this question
or