You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-aspnet/html-helpers/layout/window/loading-content.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,25 @@ To configure the Window with load-on-demand content:
49
49
.LoadContentFrom("AjaxContent", "Window") //Define the Action and Controller names.
50
50
)
51
51
52
+
You can also use another [`.LoadContentFrom()`](/api/Kendo.Mvc.UI.Fluent/WindowBuilder#loadcontentfrommicrosoftaspnetcoreroutingroutevaluedictionary) overload to pass additional details to the action method returning the Window's content:
53
+
```Razor
54
+
@(Html.Kendo().Window()
55
+
.Name("window")
56
+
.Title("User Details")
57
+
.LoadContentFrom("UserDetails", "Window", new { userId = 10}) //Define the Action, Controller names and additional route values.
58
+
)
59
+
```
60
+
```Controller
61
+
public IActionResult UserDetails(int userId)
62
+
{
63
+
MyUserViewModel model = myService.GetUserDetails(userId)
64
+
//fetch required details and pass them to the View
65
+
66
+
return View(model);
67
+
}
68
+
```
69
+
70
+
To refresh or change the Window's content on the client, once the Window has been initialized, you can use the [Client-side API of the Window](https://docs.telerik.com/kendo-ui/api/javascript/ui/window) and the [refresh method](https://docs.telerik.com/kendo-ui/api/javascript/ui/window/methods/refresh).
Copy file name to clipboardExpand all lines: docs-aspnet/knowledge-base/grid-bind-a-dropdownlist-editor.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ component: grid
19
19
</tr>
20
20
<tr>
21
21
<td>Product Version</td>
22
-
<td>217.2.621</td>
22
+
<td>2017.2.621</td>
23
23
</tr>
24
24
</table>
25
25
@@ -33,7 +33,7 @@ This is a logged issue. The Core helpers duplicate the property name when the `D
33
33
34
34
## Suggested Workarounds
35
35
36
-
Telerik UI for ASP.NET Core does not provide a built-in solution for achieving this behavior. However, you can still work around the issue by using a `.DropDownListFor(m => m)` definition.
36
+
Telerik UI for ASP.NET Core does not provide a built-in solution for achieving this behavior. However, you can still work around the issue by using a `.DropDownListFor(m => m)` definition when defining an Editor Template.
@@ -47,6 +47,7 @@ Telerik UI for ASP.NET Core does not provide a built-in solution for achieving t
47
47
)
48
48
```
49
49
50
+
For further details on configuring Custom Editors for the Grid refer to the [Custom Editing](https://docs.telerik.com/aspnet-core/html-helpers/data-management/grid/editing/custom#custom-editing) section of the documentation and the [runnable example demonstrating the use of a DropDownList as a Custom Editor](https://demos.telerik.com/aspnet-core/grid/editing-custom)
50
51
## See Also
51
52
52
53
*[API Reference of the Grid](https://docs.telerik.com/kendo-ui/api/javascript/ui/grid)
Copy file name to clipboardExpand all lines: docs/api/javascript/ui/dropdownlist.md
+32-7Lines changed: 32 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -924,31 +924,56 @@ The value of the widget.
924
924
925
925
### valuePrimitive `Boolean`*(default: false)*
926
926
927
-
Specifies the [value binding](/framework/mvvm/bindings/value) behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.
927
+
Specifies the [value binding](/framework/mvvm/bindings/value) behavior for the widget when the initial model value is null. If set to `true`, the View-Model field will be updated with the primitive value of the selected item's field (defined in the dataValueField option).if set to `false`, the View-Model field will be updated with the selected item - the entire non-primitive object.
928
928
929
-
#### Example - specify that the View-Model field should be updated with the selected item value
0 commit comments