Skip to content

Commit 1aec7cb

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 9222d0e commit 1aec7cb

File tree

5 files changed

+30
-16
lines changed

5 files changed

+30
-16
lines changed

docs-aspnet/_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ html-helpers/data-management/spreadsheet/spreadsheet-processing.md,
4343
html-helpers/data-management/grid/binding/server-binding.md,
4444
html-helpers/data-management/grid/editing/server-editing.md,
4545
html-helpers/data-management/grid/templates/server-detail-template.md,
46-
html-helpers/data-management/grid/troubleshoot/*,
4746
html-helpers/navigation/menu/binding/sitemap-binding.md,
4847
html-helpers/navigation/menu/security-trimming.md,
4948
html-helpers/navigation/panelbar/binding/sitemap-binding.md,

docs-aspnet/html-helpers/data-management/grid/troubleshoot/excel-export-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ position: 2
88

99
# Excel Export
1010

11-
This article provides solutions for issues you might encounter while exporting the content of the Telerik UI for ASP.NET MVC Grid HtmlHelper.
11+
This article provides solutions for issues you might encounter while exporting the content of the Telerik UI Grid HtmlHelper for {{ site.framework }}.
1212

1313
## JSZip Is Not Found
1414

docs-aspnet/html-helpers/data-management/grid/troubleshoot/known-exceptions.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ position: 3
88

99
# Known Exceptions
1010

11-
This article provides solutions for some known exceptions you might encounter while working with the Telerik UI for ASP.NET MVC Grid HtmlHelper.
11+
This article provides solutions for some known exceptions you might encounter while working with the Telerik UI Grid HtmlHelper for {{ site.framework }}.
1212

1313
## Circular Reference Detected While Serializing an Object of Type
1414

1515
The reason for this exception is that the [`JavaScriptSerializer`](https://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.aspx) class used by the [`Json`](https://msdn.microsoft.com/en-us/library/system.web.mvc.controller.json.aspx) method cannot serialize object graphs which contain circular references (refer to each other).
1616

17-
**Solution** Use View Model objects and avoid serializing the properties which create the circular reference. For further information on this issue, refer to the [article on avoiding circular reference exceptions]({% slug freqaskedquestions_gridhelper_aspnetmvc %}#how-to-avoid-circular-reference-exceptions).
17+
**Solution** Use View Model objects and avoid serializing the properties which create the circular reference. For further information on this issue, refer to the [article on avoiding circular reference exceptions](https://docs.telerik.com/{{ site.platform }}/html-helpers/data-management/grid/faq#how-to-avoid-circular-reference-exceptions).
1818

1919
## JSON JavaScriptSerializer Serialization or Deserialization Error
2020

@@ -23,7 +23,7 @@ This exception is thrown when the length of the JSON response exceeds the defaul
2323
**Solution** To fix this issue, use any of the following suggestions:
2424

2525
* Enable paging by calling the `Pageable` method.
26-
* Serialize only the required properties of your model by [using a View Model]({% slug freqaskedquestions_gridhelper_aspnetmvc %}#how-to-convert-my-models-to-view-model-objects).
26+
* Serialize only the required properties of your model by [using a View Model](https://docs.telerik.com/{{ site.platform }}/html-helpers/data-management/grid/faq#how-to-convert-my-models-to-view-model-objects).
2727
* Manually serialize the `DataSourceResult`.
2828

2929
public ActionResult Read([DataSourceRequest] DataSourceRequest request)
@@ -60,7 +60,10 @@ Yet another reason is that you explicitly specified that the Grid should make HT
6060

6161
## Limited Usage of Templates
6262

63-
An exception that templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions can occur if an editable Grid is bound to a `DataTable` or `DataSet`. The reason is that the ASP.NET MVC `EditorFor` method does not support `DataTable`.
63+
{% if site.core %}
64+
Тhe Grid for Core is not rendered on the server. Therefore, it is not possible to define server-side templates (like Group Header Templates) which makes the usage of `.ServerOperations(true)` in this case incompatible.
65+
{% else %}
66+
An exception that templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions can occur if an editable Grid is bound to a `DataTable` or `DataSet`. The reason is that the ASP.NET MVC `EditorFor` method does not support `DataTable`.
6467

6568
**Solution** Use a popup edit form with a custom editor template.
6669

@@ -70,6 +73,7 @@ For more information on how to resolve this issue, refer to the following resour
7073
* [Editor templates in the Telerik UI for ASP.NET MVC Grid HtmlHelper]({% slug editortemplates_grid_aspnetcore %})—use a separate editor template for each data field.
7174
* [The TemplateName setting in the Telerik UI for ASP.NET MVC Grid HtmlHelper](/api/kendo.mvc.ui.fluent/grideditingsettingsbuilder#methods-TemplateName(System.String))—use it
7275
to set a single edit form template for the whole edit form.
76+
{% endif %}
7377

7478
## Invalid Template Error When Nesting Client Templates
7579

docs-aspnet/html-helpers/data-management/grid/troubleshoot/troubleshooting.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ position: 1
88

99
# Common Issues
1010

11-
This article provides solutions for common issues you might encounter while working with the Telerik UI for ASP.NET MVC Grid HtmlHelper.
11+
This article provides solutions for common issues you might encounter while working with the Telerik UI Grid HtmlHelper for {{ site.framework }}.
1212

1313
## Grid Performs HTTP GET Requests instead of POST
1414

1515
By default, the Kendo UI Grid for ASP.NET MVC makes POST requests when configured for `Ajax binding`. This is implemented by a custom DataSource transport and schema. Those are defined in the `kendo.aspnetmvc.min.js`.
1616

17-
**Solution** Make sure this file is included after the other Kendo UI JavaScript files. For more information, refer to the [ASP.NET MVC introductory article]({% slug overview_aspnetmvc6_aspnetmvc %}).
17+
**Solution** Make sure this file is included after the other Kendo UI JavaScript files. For more information, refer to the [{{ site.framework }} introductory article](https://docs.telerik.com/{{ site.platform }}/introduction).
1818

1919
The following example demonstrates the correct order of JavaScript files.
2020

@@ -39,13 +39,23 @@ The causes of this issue are various.
3939

4040
## Client-Side Events Are Not Raised in Server-Bound Mode
4141

42-
When configured for server binding, the Kendo UI Grid for ASP.NET MVC does not fire all client-side events.
42+
{% if site.core %}
43+
Client-side events, which are related to data-binding (sorting, filtering, paging, grouping, etc.) and CRUD data operations, will not be raised when the Grid is configured for server binding.
44+
45+
For an Ajax() bound Grid, make sure that the `.ServerOperation(false)` property is disabled.
46+
{% else %}
47+
When configured for server binding, the Kendo UI Grid for ASP.NET MVC does not fire all client-side events.
4348

4449
**Solution** For more information on how to resolve this issue, refer to the [article on server binding of the Grid]({% slug htmlhelpers_grid_aspnetcore_localbinding %}#supported-client-side-events).
4550

46-
## Grid Fails to Update Dates and Numbers When Current Culture Is Not en-US
51+
For an Ajax() bound Grid, make sure that the `.ServerOperation(false)` property is disabled.
52+
{% endif %}
53+
54+
{% if site.mvc %}
55+
## Grid Fails to Update Dates and Numbers When Current Culture Is Not en-US
4756

4857
**Solution** Make sure the JavaScript file for that culture is included. For additional information on this issue, refer to [this section](#include-javascript-for-the-current-culture-razor).
58+
{% endif %}
4959

5060
## Column Templates Are Not Displayed
5161

@@ -61,7 +71,7 @@ When configured for server binding, the Kendo UI Grid for ASP.NET MVC does not f
6171

6272
Not all settings of the DataSource are exposed through the `DataSource` fluent API.
6373

64-
**Solution** To gain full control over the DataSource, consider using the [`CustomDataSource`]({% slug customdatasource_aspnetmvc %}) fluent API or the client-side version of the Kendo UI Grid.
74+
**Solution** To gain full control over the DataSource, consider using the [`CustomDataSource`](https://demos.telerik.com/{{ site.platform }}/grid/custom-datasource) fluent API or the client-side version of the Kendo UI Grid.
6575

6676
## Grid Fires Create Actions instead of Update Actions
6777

@@ -107,10 +117,10 @@ The following example demonstrates how to include JavaScript for the current cul
107117
</script>
108118
```
109119

110-
For additional information on this issue, refer to the [article on globalization]({% slug overview_globalization_core %}).
120+
For additional information on this issue, refer to the [article on globalization](https://docs.telerik.com/{{ site.platform }}/globalization/overview).
111121

112122
## See Also
113123

114-
* [Basic Usage of the Grid HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/grid)
115-
* [Using the API of the Grid HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/grid/api)
124+
* [Basic Usage of the Grid HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/grid)
125+
* [Using the API of the Grid HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/grid/api)
116126
* [Server-Side API](/api/grid)

docs/knowledge-base/scale-diagram-to-fit-container.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ How can I scale Kendo UI Diagram to fit its container upon resizing?
2525

2626
## Solution
2727

28-
Create a method to dynamically calculate the Diagram viewport dimensions and scale the Diagram accordingly. Use the [`scale()`](/api/javascript/dataviz/ui/diagram/methods/scale) method of the Diagram.
28+
Create a method to dynamically calculate the Diagram viewport dimensions and scale the Diagram accordingly. Use the [`zoom()`](/api/javascript/dataviz/ui/diagram/methods/zoom) method of the Diagram.
2929

3030
```dojo
3131
<div class="diagram-wrapper">
3232
<div id="diagram"></div>
33-
</div
33+
</div>
34+
3435
<script>
3536
$("#diagram").kendoDiagram({
3637
shapes:[

0 commit comments

Comments
 (0)