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/globalization/overview.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ To use a culture that is different from the default `en-US` one in {{ site.produ
73
73
kendo.culture("es-ES");
74
74
</script>
75
75
76
+
>tip You can find the complete list of available cultures in the [Kendo UI Core repository](https://github.com/telerik/kendo-ui-core/tree/master/src/cultures).
77
+
76
78
## Matching Cultures
77
79
78
80
The cultures that are set on the client and on the server have to match. This ensures that dates and numbers are displayed and parsed correctly.
Copy file name to clipboardExpand all lines: docs-aspnet/html-helpers/data-management/grid/editing/inline.md
+42-3Lines changed: 42 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,17 +24,16 @@ For runnable examples, refer to the [demos on implementing the editing approache
24
24
25
25
1. Pick the **Generate from database** option and click **Next**. Configure a connection to the Northwind database. Click **Next**.
26
26
27
-

27
+

28
28
29
29
1. Choose the **Products** table from the **Which database objects do you want to include in your model?**. Leave all other options as they are set by default. Click **Finish**.
30
30
31
-

31
+

32
32
{% else %}
33
33
34
34
1. Add a new class to the `~/Models` folder. The following example uses the `ProductViewModel` name.
35
35
36
36
public class ProductViewModel
37
-
38
37
{
39
38
public int ProductID { get; set; }
40
39
// The ProductName property is required.
@@ -61,6 +60,7 @@ For runnable examples, refer to the [demos on implementing the editing approache
61
60
62
61
1. Add a new action method to `HomeController.cs`. It will be responsible for saving the new data items. Name the method `Products_Create`.
63
62
63
+
{% if site.core %}
64
64
public ActionResult Products_Create([DataSourceRequest]DataSourceRequest request, ProductViewModel product)
65
65
{
66
66
if (ModelState.IsValid)
@@ -84,6 +84,45 @@ For runnable examples, refer to the [demos on implementing the editing approache
84
84
// Return the inserted product. The Grid needs the generated ProductID. Also return any validation errors.
0 commit comments