Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aspnetmvc/Grid/Cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ You can add custom attribute for the particular column's `td` element by using `

Based on custom attribute you can customize the style and appearance of the `td` element or handling jQuery functionalities.

You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](http://www.jsviews.com/#jsrapi "the link").
You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](https://www.jsviews.com/#jsrapi "the link").

The following code example describes the above behavior.

Expand Down Expand Up @@ -327,7 +327,7 @@ When you move the cursor over the particular cell it provides an information abo

**Template**

HTML templates can be specified in the `Tooltip` property of the particular column cell as a string (HTML element) or ID of the template's HTML element.You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](http://www.jsviews.com/#jsrapi "this link").
HTML templates can be specified in the `Tooltip` property of the particular column cell as a string (HTML element) or ID of the template's HTML element.You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](https://www.jsviews.com/#jsrapi "this link").

N> It's a standard way to enclose the template within the `script` tag with `type` as "text/x-jsrender".
N> The `Tooltip` template must contain `value` property to bind the corresponding cell text in tooltip
Expand Down
8 changes: 4 additions & 4 deletions aspnetmvc/Grid/Columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ The following output is displayed as a result of the above code example.

The template design that applies on for the column header. To render template, use the `HeaderTemplateID` property of `Columns`.

You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](http://www.jsviews.com/#jsrapi "the link").
You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](https://www.jsviews.com/#jsrapi "the link").

N> It's a standard way to enclose the `template` within the `script` tag with `type` as `text/x-jsrender`.

Expand Down Expand Up @@ -351,7 +351,7 @@ The following output is displayed as a result of the above code example.

`Format` is the process of customizing the particular column data with specified jQuery recognized globalize formats, such as currency, numeric, decimal, percentage or dates. To specify the globalize format, by using Format property of `Columns`.

The `Format` value should be wrapped within "{0:" and "}". (For ex: "{0:C3}"). The [data format](https://github.com/jquery/globalize/tree/v0.1.1#format "data format") strings available for the `Date` and `Number` types.
The `Format` value should be wrapped within "{0:" and "}". (For ex: "{0:C3}"). The [data format](https://github.com/globalizejs/globalize/tree/v0.1.1#format "data format") strings available for the `Date` and `Number` types.

The following code example describes the above behavior.

Expand Down Expand Up @@ -695,7 +695,7 @@ The following output is displayed as a result of the above code example.

HTML templates can be specified in the `Template` property of the particular column as a string (html element) or ID of the template's HTML element.

You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](http://www.jsviews.com/#jsrapi "this link").
You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](https://www.jsviews.com/#jsrapi "this link").

For template manipulation using JavaScript, either you can use JsRender [helper](https://www.jsviews.com/#helpers) function or `TemplateRefresh` grid event. For more information on `TemplateRefresh` event, refer [this link](https://help.syncfusion.com/aspnetmvc/grid/how-to#display-other-syncfusion-controls-in-grid-columns "this link").

Expand Down Expand Up @@ -831,7 +831,7 @@ The following output is displayed as a result of the above code example.

Expression column is possible only for `Template` column. You can use JsRender syntax in the template.

You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](http://www.jsviews.com/#jsrapi "the link").
You can use JsRender syntax in the template. For more information about JsRender syntax, please refer [this link](https://www.jsviews.com/#jsrapi "the link").

N> This expression column is supported at read only mode.

Expand Down
4 changes: 2 additions & 2 deletions aspnetmvc/Grid/Data-Adaptors.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Data Adaptors in ASP.NET MVC Grid

The Data Adaptor is a mechanism through which the `DataManager` interact with the remote service or local dataSource. The `DataManager` has several preconfigured Data Adaptors, refer to the [link](http://help.syncfusion.com/aspnetmvc/datamanager/data-Adaptors).
The Data Adaptor is a mechanism through which the `DataManager` interact with the remote service or local dataSource. The `DataManager` has several preconfigured Data Adaptors, refer to the [link](https://help.syncfusion.com/aspnetmvc/datamanager/data-Adaptors).

In Grid, the Adaptor can be specified using the `Adaptor` property of the `DataSource` builder.

Expand Down Expand Up @@ -62,7 +62,7 @@ The following output is displayed as a result of the above code example.

The Url Adaptor is the base Adaptor that would interact with remote services. It can be enabled in Grid using `Adaptor` property of `DataSource` as `AdaptorType.UrlAdaptor`. For every operations, an AJAX post will be send to the specified data service.

N> When using `UrlAdaptor`, grid actions such as `Paging, Filtering` and `Sorting` should be handled at the server side itself. We have `DataOperation` class to do these server side operations. Please refer to the Knowledge Base [link](https://www.syncfusion.com/kb/4300). These operations can also be done using the `QueryableDataOperations` class which accepts the IQueryable Data. Please refer the Kb [link](https://www.syncfusion.com/kb/8434).
N> When using `UrlAdaptor`, grid actions such as `Paging, Filtering` and `Sorting` should be handled at the server side itself. We have `DataOperation` class to do these server side operations. Please refer to the Knowledge Base [link](https://support.syncfusion.com/kb/article/4411/server-side-api-for-datamanager-operations). These operations can also be done using the `QueryableDataOperations` class which accepts the IQueryable Data. Please refer the Kb [link](https://support.syncfusion.com/kb/article/7406/server-side-api-for-datamanager-operations-with-iqueryable-data).


The following code example describes the above behavior.
Expand Down
8 changes: 4 additions & 4 deletions aspnetmvc/Grid/Data-Binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ We can also bind the above type of datasource by using lambda Expressions of Gri

N> 1. To update the dataSource after Grid rendered, use `dataSource` method of Grid. Refer to this [link](https://help.syncfusion.com/aspnetmvc/grid/how-to#set-dynamic-datasource-to-grid) for more information.

N> 2. DateTime values, retrieved from server-end or database, will be converted based on the local time zone. To avoid the local time zone conversion, refer this knowledge base [link](https://www.syncfusion.com/kb/8613/how-to-convert-dates-to-utc-format).
N> 2. DateTime values, retrieved from server-end or database, will be converted based on the local time zone. To avoid the local time zone conversion, refer this knowledge base [link](https://support.syncfusion.com/kb/article/7605/how-to-convert-dates-to-utc-format).

In the following section, let us see on how to bind various datasources to Grid using `DataSource` API.

## IEnumerable

The Grid can be bound with either non-generic collection or generic collection that implements [IEnumerable](https://msdn.microsoft.com/en-us/library/system.collections.ienumerable.aspx) interface. It can be assigned to Grid’s `DataSource` property.
The Grid can be bound with either non-generic collection or generic collection that implements [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.ienumerable?redirectedfrom=MSDN) interface. It can be assigned to Grid’s `DataSource` property.

N> When using `DataSource` builder, the IEnumerable datasource can be passed as parameter either directly to the `DataSource` builder or to the `Json` property of the `DataSource` builder.

Expand Down Expand Up @@ -321,7 +321,7 @@ The following output is displayed as a result of the above code example.

See Also

For more information on ITypedList interface please refer to this [link](https://msdn.microsoft.com/en-us/library/System.ComponentModel.ITypedList.aspx).
For more information on ITypedList interface please refer to this [link](https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.itypedlist?redirectedfrom=MSDN).

## Complex Binding

Expand Down Expand Up @@ -406,7 +406,7 @@ The following output is displayed as a result of the above code example.

See Also

To create WCF Data Service in your web application refer [here](https://msdn.microsoft.com/en-us/library/cc668184.aspx).
To create WCF Data Service in your web application refer [here](https://learn.microsoft.com/visualstudio/data-tools/walkthrough-creating-a-wcf-data-service-with-wpf-and-entity-framework?view=vs-2015&redirectedfrom=MSDN).

## ODataV4 Service

Expand Down
16 changes: 8 additions & 8 deletions aspnetmvc/Grid/Editing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The grid control has support for dynamic insertion, updating and deletion of rec

Deletion of the record is possible by selecting the required row and clicking on Delete icon in toolbar.

The primary key for the data source should be defined in `Columns` definition, for editing to work properly. In `Columns` definition, particular primary column's `IsPrimaryKey` property should be set to `true`. Refer the Knowledge base [link](http://www.syncfusion.com/kb/2675/cant-edit-any-row-except-the-first-row-in-grid# "link") for more information.
The primary key for the data source should be defined in `Columns` definition, for editing to work properly. In `Columns` definition, particular primary column's `IsPrimaryKey` property should be set to `true`. Refer the Knowledge base [link](https://support.syncfusion.com/kb/article/2934/cant-edit-any-row-except-the-first-row-in-grid "link") for more information.

N> 1. In grid, the primary key column will be automatically set to read only while editing the row, but you can specify primary key column value while adding a new record.
N> 2. The column which is specified as `IsIdentity` will be in readonly mode both while editing and adding a record. Also, auto incremented value is assigned to that `IsIdentity` column.
Expand Down Expand Up @@ -95,7 +95,7 @@ Example</th></tr>
<tr>
<td>
NumericTextBox </td><td>
{{ '[TextBoxes](https://help.syncfusion.com/cr/aspnetmvc/Syncfusion.JavaScript.Models.EditorProperties_properties.html)' | markdownify }} </td><td>
{{ '[TextBoxes](https://help.syncfusion.com/cr/aspnetmvc)' | markdownify }} </td><td>
NumericEditOptions(new EditorProperties() { DecimalPlaces = 2, })</td></tr>
<tr>
<td>
Expand Down Expand Up @@ -487,7 +487,7 @@ Before the template elements are converted to JS controls

After the template elements are converted to JS controls using actionComplete event.

N> To render the EJ MVC form controls like DatePicker, Dropdownlist, NumericTextBox in the template edit form, from the partial view, refer the KB [`How render ejControls in the Edit Form Template of the MVC Grid`](https://www.syncfusion.com/kb/7746/how-render-ejcontrols-in-the-edit-form-template-of-the-mvc-grid "How render ejControls in the Edit Form Template of the MVC Grid?").
N> To render the EJ MVC form controls like DatePicker, Dropdownlist, NumericTextBox in the template edit form, from the partial view, refer the KB [`How render ejControls in the Edit Form Template of the MVC Grid`](https://support.syncfusion.com/kb/article/6947/how-render-ejcontrols-in-the-edit-form-template-of-the-mvc-grid).

### Dialog

Expand Down Expand Up @@ -892,14 +892,14 @@ Before the template elements are converted to JS controls

After the template elements are converted to JS controls using actionComplete event.

N> To render the EJ MVC form controls like DatePicker, Dropdownlist, NumericTextBox in the template edit form, from the partial view, refer the KB [`How render ejControls in the Edit Form Template of the MVC Grid`](https://www.syncfusion.com/kb/7746/how-render-ejcontrols-in-the-edit-form-template-of-the-mvc-grid "How render ejControls in the Edit Form Template of the MVC Grid?").
N> To render the EJ MVC form controls like DatePicker, Dropdownlist, NumericTextBox in the template edit form, from the partial view, refer the KB [`How render ejControls in the Edit Form Template of the MVC Grid`](https://support.syncfusion.com/kb/article/6947/how-render-ejcontrols-in-the-edit-form-template-of-the-mvc-grid).

### Batch / Excel-like

Users can start editing by clicking a cell and typing data into it. Edited cell will be marked while navigating to next cell or any other row, so that you know which fields or cells has been edited. Set `EditMode` as `Batch` to enable batch editing.

N> `getBatchChanges` method of grid holds the unsaved record changes.
N> Refer the KB [link](http://www.syncfusion.com/kb/3016/how-to-suppress-grid-confirmation-messages# "link") for "How to suppress grid confirmation messages" in batch mode.
N> Refer the KB [link](https://support.syncfusion.com/kb/article/3065/how-to-suppress-grid-confirmation-messages "link") for "How to suppress grid confirmation messages" in batch mode.

The following code example describes the above behavior.

Expand Down Expand Up @@ -1160,9 +1160,9 @@ equalTo</td><td>
Requires the element to be the same as another.</td></tr>
</table>

Grid supports all the standard validation methods of jQuery, please refer the jQuery validation documentation [link](http://jqueryvalidation.org/documentation/# "link") for more information.
Grid supports all the standard validation methods of jQuery, please refer the jQuery validation documentation [link](https://jqueryvalidation.org/documentation/# "link") for more information.

To return custom validation message from server end, please refer this KB [link](https://www.syncfusion.com/kb/7135/how-to-return-custom-message-from-controller-when-crud-action-fails).
To return custom validation message from server end, please refer this KB [link](https://support.syncfusion.com/kb/article/6608/how-to-return-custom-message-from-controller-when-crud-action-fails).

The following code example describes the above behavior.

Expand Down Expand Up @@ -1217,7 +1217,7 @@ The following output is displayed as a result of the above code example.

![ASPNETMVC Grid Editing](Editing_images/Editing_img18.png)

N> 1. Refer this [Knowledge Base link](https://www.syncfusion.com/kb/6817/how-to-perform-server-side-validation-in-grid) to perform server side validation in Grid.
N> 1. Refer this [Knowledge Base link](https://support.syncfusion.com/kb/article/6216/how-to-perform-server-side-validation-in-grid) to perform server side validation in Grid.

### Custom Validation

Expand Down
4 changes: 2 additions & 2 deletions aspnetmvc/Grid/Enable-Persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ documentation: ug

# State Persistence

State persistence is to maintain the grid state in browser's [local storage](http://www.w3schools.com/html/html5_webstorage.asp#) even if browser refreshes or move to the next page. State persistence stores grid's model object in local storage while defining the `enablePersistence` as true.
State persistence is to maintain the grid state in browser's [local storage](https://www.w3schools.com/html/html5_webstorage.asp) even if browser refreshes or move to the next page. State persistence stores grid's model object in local storage while defining the `enablePersistence` as true.

I> The [localStorage](http://www.w3schools.com/html/html5_webstorage.asp#) is not supported below IE9 then grid state persistence technique is fallback to [cookie](http://www.w3schools.com/js/js_cookies.asp#).
I> The [localStorage](https://www.w3schools.com/html/html5_webstorage.asp) is not supported below IE9 then grid state persistence technique is fallback to [cookie](https://www.w3schools.com/js/js_cookies.asp).

## List of properties are not persisted by default

Expand Down
2 changes: 1 addition & 1 deletion aspnetmvc/Grid/Exporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ N> Excel file will be exported in the collapsed state with the expand/collapse i

N> 1. The dataSource passed to the exporting method is compared with grid column while exporting, when a column is not defined in the grid dataSource, it is obtained as null value and hence throws a null exception. To avoid the above exception ensure that the columns bound to the grid are defined in the grid dataSource before exporting the grid.

N> 2. To export the dynamic list of objects in the grid use the TypeBuilder concept refer to this [`link`](https://www.syncfusion.com/kb/7620/how-to-export-dynamic-list-using-typebuilder-in-grid "link")
N> 2. To export the dynamic list of objects in the grid use the TypeBuilder concept refer to this [`link`](https://support.syncfusion.com/kb/article/6889/how-to-export-dynamic-list-using-typebuilder-in-grid)

## Server dependencies

Expand Down
Loading