jQWidgets Forums

jQuery UI Widgets Forums ASP .NET MVC 2 grids in a view using tag helpers

This topic contains 4 replies, has 2 voices, and was last updated by  Peter Stoev 7 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • 2 grids in a view using tag helpers #95717

    checlark
    Participant

    I cannot find an example so far of how to have 2 grids in a view using tag helpers with each calling a different action in the controller. Any help would be appreciated.

    I am using MVC 6 and VS2017 .Net Core 2.0

    2 grids in a view using tag helpers #95728

    Peter Stoev
    Keymaster

    Hi checlark,

    We do not have such an example available, but the way you place one Grid can be used to display two Grids. You will need to add two Tag Helpers on your web page.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    2 grids in a view using tag helpers #95735

    checlark
    Participant

    Ok, but then how do you get each grid to call different actions in the controller?

    Thanks,
    Che’

    2 grids in a view using tag helpers #95746

    checlark
    Participant

    It would be helpful if you would answer the ENTIRE question please. We are now into our third day trying to get an answer to the second part of my original post which is wasting my time as well as yours. I am evaluating these controls to use in our flagship software so time is of the essence. So, again, how do you get each grid to call different actions in the controller when using tag helpers?

    Thank you,
    Che’

    2 grids in a view using tag helpers #95750

    Peter Stoev
    Keymaster

    Hi Che,

    1. This is community forum i.e answers should be expected by the community. We also answer questions here, but the response time is not guaranteed.

    2. I do not see any problem each Grid to call different things in a Controller. Each Grid may have attributes such as:

    source-url="@Url.Action("GetPageData","TagHelpers")" source-model="employee"

    so you can have different calls.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.