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

Auto switch tab & UpdatePanel

1 Answer 54 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Kh Mohamad
Top achievements
Rank 1
Kh Mohamad asked on 30 Aug 2009, 06:24 AM
I have 2 tabs in tabstrip:

1st pageview contains an ajax updatepanel (not telerik) covering a radgrid
2nd pageview contains an ajax updatepanel (not telerik) covering a form to insert new data.

On success insert in the 2nd pageview, i want to auto switch the tab to the first pageview, so that the user can see the newly inserted data in the grid.

My current approach does not work as the view stays on 2nd pageview even after success insert. Any workable solution is appreciated, i need separate updatepanel for each pageview to reduce loading time.

Thanks

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 31 Aug 2009, 07:57 AM
Hello Kh Mohamad,

There are multiple ways in which you can change the selected tab and pageview. The easiest one is to set the SelectedIndex property of both RadTabStrip and RadMultiPage to the needed index.

Kind regards,
Paul
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
TabStrip
Asked by
Kh Mohamad
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or