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

Binding TabStrip to a DataSource

1 Answer 146 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Jaco
Top achievements
Rank 1
Jaco asked on 31 Mar 2020, 07:22 AM

Hi there,

I'm having difficulty in finding information on Binding a TabStrip to a datasource similar to the other controls and the JQuery version.  Can you give me a practical example of binding it to a List<T>?

I am sure you are also still busy updating the documentation.  Our architect has very colorful ways of creating his rest endpoints.  Things are getting a bit sketchy when it comes to https://docs.telerik.com/aspnet-mvc/api//Kendo.Mvc.UI.Fluent/DataSourceBuilder#webapi . 

Thanks for your help.

 

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 02 Apr 2020, 07:19 AM

Hi Jaco,

Attached to my reply you will find a runnable example of how we can bind the TabStrip to List<T>. I've followed this documentation article to implement it. The model in the project has only two properties but you can add more if you want to additionally configure the items.

Let me know if you have any questions about the provided example.

About the link you provided, I assume that under "sketchy" you mean that there are no details about how you can configure a DataSource with it. Did I understand you correctly? We are aware that such an article about how a DataSource with WEBApi can be configured is missing from our documentation. I cannot say when but in the near future we should have such an article. 

Regards,
Petar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
TabStrip
Asked by
Jaco
Top achievements
Rank 1
Answers by
Petar
Telerik team
Share this question
or