This question is locked. New answers and comments are not allowed.
Andy McShane
Top achievements
Rank 1
Andy McShane
asked on 01 Mar 2010, 04:07 PM
Hi, I am trying to use the tab strip and load the tabs on demand. I have a master page that all of my views use. On my main view I am trying to use the tab strip. When the page first loads it shows the tabs correcly however whenever I click on any other tab but the default one my partialview is returned as the whole page, the partial view content is not displayed inside of the selected tab. Any idea what I am doing wrong here?
4 Answers, 1 is accepted
0
Accepted
Hi Andy McShane,
Check if you are not missing a ScriptRegistrar declared after the tabstrip (and any other components in the page). A ScriptRegistrar must be declared in your page because it registers the JavaScript files and initialization script of any other components.
Regards,
Atanas Korchev
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.
Check if you are not missing a ScriptRegistrar declared after the tabstrip (and any other components in the page). A ScriptRegistrar must be declared in your page because it registers the JavaScript files and initialization script of any other components.
Regards,
Atanas Korchev
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
Andy McShane
Top achievements
Rank 1
answered on 01 Mar 2010, 05:26 PM
Of course! How stupid of me! Is it possible to use ajax forms within the tab strip? I now get my tabs loading correctly but they are not working with my ajax forms?
0
Andy McShane
Top achievements
Rank 1
answered on 01 Mar 2010, 05:31 PM
Never mind, I am being an idiot again,all ok now!
0
Hello Andy McShane,
Are you including the required JavaScript files? If they are defined in the partial view I am afraid they will get included despite being output in the result HTML. If this is the case include MicrosftAjax.js and MicrosoftMvcAjax.js in your view.
Regards,
Atanas Korchev
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.
Are you including the required JavaScript files? If they are defined in the partial view I am afraid they will get included despite being output in the result HTML. If this is the case include MicrosftAjax.js and MicrosoftMvcAjax.js in your view.
Regards,
Atanas Korchev
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.