MultiSelectFor using TagHelpers

2 posts, 1 answers
  1. Tomasz
    Tomasz avatar
    14 posts
    Member since:
    May 2017

    Posted 23 Jan 2018 Link to this post

    How to create MultiSelectFor using taghelpers? Without this I am unale to post form with selected values.
  2. Answer
    Ianko
    Admin
    Ianko avatar
    1915 posts

    Posted 23 Jan 2018 Link to this post

    Hello Tomasz,

    The "for" functionality is up to be implemented. The native asp-for attribute is implemented only for the native form inputs, it cannot be utilized with custom tag helpers.

    Currently, you can setup the name and value attributes corresponding to the model bound. 

    For example:

    <kendo-multiselect name="Value" value="Model.Value"></kendo-multiselect>

    Regards,
    Ianko
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top