Tabstrip plus Grid with ASP.NET Core ViewComponent

5 posts, 0 answers
  1. Tim
    Tim avatar
    10 posts
    Member since:
    Oct 2015

    Posted 26 May Link to this post

    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>);
    }))

     

     

     

     

  2. Ianko
    Admin
    Ianko avatar
    1729 posts

    Posted 31 May Link to this post

    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.
  3. Nouman
    Nouman avatar
    7 posts
    Member since:
    Jun 2017

    Posted 13 Jul Link to this post

    Is there any update to this question?
  4. Ianko
    Admin
    Ianko avatar
    1729 posts

    Posted 14 Jul Link to this post

    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.
  5. Nouman
    Nouman avatar
    7 posts
    Member since:
    Jun 2017

    Posted 14 Jul Link to this post

    Thanks for your reply.  My issue was resolved by the post on deferring initialization.
Back to Top