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

PageView not showing for selected tab

1 Answer 57 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Bob Boffin
Top achievements
Rank 2
Bob Boffin asked on 25 Jun 2010, 09:46 AM
I have a tabstrip that is associated with a MultiPageView. The tabs are created clientside from an XML data file that includes the associated PageViewID.

The tabs are all created correctly but the XML also indicates which tab is to be selected. The set_selected (true) method of this tab is called once the tabstrip has been completed and triggers an event handler associated with the OnClientTabSelected event. The selected tab is highlighted correctly but the PageView shown is always the one associated with the first tab.

If you subsequently click on other tabs everything works OK and the corresponding pageview is shown so the tabs have been setup correctly. It is only following the initial setup that the correct pageview is not shown.

Do you have any suggestions as to what I might be doing wrong?

Bob Boffin

Using Telerik.Web.UI version 2008.3.1314.35

1 Answer, 1 is accepted

Sort by
0
Bob Boffin
Top achievements
Rank 2
answered on 25 Jun 2010, 03:54 PM
I've found the problem which was server side. I wasn't selecting the correct pageView before rendering the page.

Regards

Bob Boffin
Tags
TabStrip
Asked by
Bob Boffin
Top achievements
Rank 2
Answers by
Bob Boffin
Top achievements
Rank 2
Share this question
or