Load the views / partial views into different tab

1 Answer 825 Views
TabStrip
Kiran
Top achievements
Rank 1
Veteran
Iron
Kiran asked on 27 Dec 2021, 01:04 PM

Hi,

as I see in the following demo it says it is loading the partial views in Tabs, not a Main View:

https://demos.telerik.com/aspnet-mvc/tabstrip/ajax

In the example they loaded different partial views in tabs like,  ajaxContent1.html, ajaxContent1.html, ajaxContent1.html.

Q1. But can I load same partial view (ajaxContent1.html) in 3 different tabs?

Q2. Can I load View other than Partial View in a Tab?

1 Answer, 1 is accepted

Sort by
0
Yanislav
Telerik team
answered on 29 Dec 2021, 10:02 AM

Hi Kiran,

 

Thank you for writing to us.

Let me address your questions below.

1. The TabStrip is simply a component that loads content, there should not be a problem to load the same Partial View in different tabs.

2. Yes, it is actually possible, if an action that returns a view is hit, the whole view together with the Layout will be loaded inside the tab of the TabStrip.

If you have any difficulties, do not hesitate to share further details with us so we can be of further help.

 

Regards,
Yanislav
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Kiran
Top achievements
Rank 1
Veteran
Iron
commented on 30 Dec 2021, 04:47 AM | edited

QA1. The TabStrip is simply a component that loads content, there should not be a problem to load the same Partial View in different tabs.

  • is it possible to load Same partial view with same control IDs in different Tabs

QA2. Yes, it is actually possible, if an action that returns a view is hit, the whole view together with the Layout will be loaded inside the tab of the TabStrip.

  • The Tab where is loading in Main View, Inside the Tab View both are sharing same Layout page. The it is giving conflict reference error. How can we address the reference conflict, like JS files.
Eyup
Telerik team
commented on 03 Jan 2022, 05:32 PM

Hi


Tags
TabStrip
Asked by
Kiran
Top achievements
Rank 1
Veteran
Iron
Answers by
Yanislav
Telerik team
Share this question
or