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

RadTabStrip not working

2 Answers 223 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 07 Feb 2011, 10:49 PM
I'm evaluating telerik for our company. I have three tabs created dynamically (copied mostly from your sample). Everything works. I can switch from tab to tab

However, if one of my tab content causes a postback, the only tab that actually loads is the first one. The other two, all I see are the tabs but no content.

From my observation, the "onTabSelecting" is called every time I select the tab but no postback (obviously this is due to the call to "args.get_tab().set_postBack(false);" inside the "onTabSelecting"). I suppose this is due to the fact that the tab has already been loaded. This is all fine. But, as soon as I cause a postback inside of one of my tab (done by clicking on a button in the content of my first tab, the second and third tabs no longer has any content). I notice when I caused the postback, the "onTabSelecting" is never called (which does make sense becuase I did not click the tab).

Any idea?
 

2 Answers, 1 is accepted

Sort by
0
Maysam
Top achievements
Rank 1
answered on 26 Apr 2011, 01:49 AM
I have the same issue
Did you find out how to fix it?
0
Dimitar Terziev
Telerik team
answered on 02 May 2011, 12:12 PM
Hello Jeff,

When you dynamically create controls, these controls should be added upon every post-back to the controls collection of the page. There is a demo implementing such a scenario, so you could used the approach implemented there.

In case this doesn't help you out, provide us with more information on your particular implementation.

All the best,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TabStrip
Asked by
Jeff
Top achievements
Rank 1
Answers by
Maysam
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or