dotnet core (2.2) razor page tag helpers add custom HTML targets RRS feed

  • Question

  • I use helper tags for label and select tags like so:

    <select asp-for="Article.Countries.Id"></select>

    I now want to use a custom tag multiselect into which a JS library hooks into.

    I now want to use the tag helper expansion from select in this new tag:

    <multiselect asp-for="Article.Countries.Id"></multiselect >

    What is the safest way to extend the select-helper tag to also kick in for this new tag?

    Tuesday, March 12, 2019 8:49 AM

All replies

  • Hi Juergen Riemer,

    What is the type of your project?

    If you use ASP.NET, you could post a new thread in ASP.NET forum.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, March 13, 2019 5:56 AM
  • Hi Wendy,

    Thanks for the hint.. I created a new post over at ASP.NET Core



    Wednesday, March 13, 2019 6:48 AM