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

LoadOnDemand and Enable/Disable Tabs

3 Answers 94 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Jill Allison
Top achievements
Rank 1
Jill Allison asked on 05 May 2010, 02:20 PM
Hello.

I am using the LoadOnDemand feature for a RadTabStrip control.  Each PageView within the tabs contains a custom user control that encapsulates logic specific to the PageView.  When user presses the Save button that's inside on of the custom user controls it is supposed to change the enable/disable state of aout half the tabs within the tabstrip.

In the Page_PreRender event is where the enable/disable behaviors for the tabs are being changed.  However, when the page is rendered, the tabs have not changed.

How do I get the tabs enable/disable state to change using the LoadOnDemand model?  Do I have to handle it client-side?  If so, that could be tricky as the logic that's determining enable/disable state is a bit complex.

Thanks,
RezRaider

3 Answers, 1 is accepted

Sort by
0
Damian
Top achievements
Rank 1
answered on 29 Jul 2010, 09:55 PM
Hi,

I was just wondering if you found a way of disabling tabs from a user control loaded inside a page view using the LoadOnDemand method?

Thanks
0
Matthew Cummings
Top achievements
Rank 1
answered on 03 Aug 2010, 09:37 AM
Hello,

I also need some urgent help with this, can anyone offer any advice please?  Telerik mods?

Thanks
Matt
0
Yana
Telerik team
answered on 04 Aug 2010, 01:44 PM
Hi all,

I guess that you're RadAjaxManager, so you need to add a setting to allow this button to update the tabstrip. You can do this in the user control with the help of RadAjaxManagerProxy.

Best 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
Tags
TabStrip
Asked by
Jill Allison
Top achievements
Rank 1
Answers by
Damian
Top achievements
Rank 1
Matthew Cummings
Top achievements
Rank 1
Yana
Telerik team
Share this question
or