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

MultiSelectFor using TagHelpers

1 Answer 142 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Flotman
Top achievements
Rank 1
Flotman asked on 23 Jan 2018, 08:36 AM
How to create MultiSelectFor using taghelpers? Without this I am unale to post form with selected values.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ianko
Telerik team
answered on 23 Jan 2018, 10:35 AM

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.
Tags
MultiSelect
Asked by
Flotman
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or