Skip to content

Commit 7611dbe

Browse files
chore: update multiselect POST example description
1 parent 6ef8671 commit 7611dbe

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
# CRUD operations with MultiColumnComboBox
1+
# Get MultiSelect data in POST to Controller
22

3-
The MultiColumnComboBox is a view-only widget by design and does not provide edit, delete and create features.
4-
5-
You can implement them, however, by adding custom buttons to its [templates](https://docs.telerik.com/kendo-ui/controls/editors/multicolumncombobox/overview#templates) and handling events from them to, for example, show AJAX forms from partial views in a popup.
6-
7-
## Prerequisites
8-
9-
This example steps on the [Using Kendo Window for MVC with AJAX Forms](https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/window/KendoWindow-Ajax-Form) example so you should get familiar with its concepts and requirements.
3+
The MultiSelect is a `<select multiple>` element and behaves like one in a POST query - the browser will add a form data field with the name of the widget for each selected item, and the value of the form field will be the value of the item. This means that your model needs to expect a List of values for the given field.
104

5+
The example also shows how you can get the selected values with JavaScript so you can use them to craft your own query in case you have more specific requirements.

multiselect/get-POST-data/SampleMvcApp/SampleMvcApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
<AutoAssignPort>True</AutoAssignPort>
228228
<DevelopmentServerPort>54603</DevelopmentServerPort>
229229
<DevelopmentServerVPath>/</DevelopmentServerVPath>
230-
<IISUrl>http://localhost:54603/</IISUrl>
230+
<IISUrl>http://localhost:54681/</IISUrl>
231231
<NTLMAuthentication>False</NTLMAuthentication>
232232
<UseCustomServer>False</UseCustomServer>
233233
<CustomServerUrl>

0 commit comments

Comments
 (0)