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

Tabstrip plus Grid with ASP.NET Core ViewComponent

4 Answers 357 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 26 May 2017, 12:02 PM

I'm trying to render a grid on demand in a tab using the nw component views. I have tried the following but non work.

 

@(Html.Kendo().TabStrip().Name("tabstripx").Items(tabstrip =>
{
tabstrip.Add().Text("Tab1").Content(
@<text>
   @Component.InvokeAsync("SupplierCompliance", new { SupplierId = Model.Id })
</text>);
                       
tabstrip.Add().Text("Tab1").Content(@<text>
    <vc:supplier-compliance id="3"></vc:supplier-compliance>
</text>);
}))

 

 

 

 

4 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 31 May 2017, 07:13 AM

Hello Tim,

Can you please provide a sample project that demonstrates the experienced behavior with the TabStrip and the Grid? That way it would be easier to identify what the problem might be.

Regards,
Ianko
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Nouman
Top achievements
Rank 1
answered on 13 Jul 2017, 05:32 PM
Is there any update to this question?
0
Ianko
Telerik team
answered on 14 Jul 2017, 05:51 AM

Hello Nouman,

There is no further details from Tim that could enable me to look at the described difficulty with Grid and TabStrip.

If you have some more information about the case you can attach a simple project or some sample code to test with so to eventually properly evaluate the case and try to assist further.

Regards,
Ianko
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Nouman
Top achievements
Rank 1
answered on 14 Jul 2017, 03:53 PM
Thanks for your reply.  My issue was resolved by the post on deferring initialization.
Tags
TabStrip
Asked by
Tim
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Nouman
Top achievements
Rank 1
Share this question
or