Skip to content

Commit 2ef21bb

Browse files
authored
Update readme.md
1 parent a264230 commit 2ef21bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The [DevExtreme ASP.NET Data](https://github.com/DevExpress/DevExtreme.AspNet.Da
1313

1414
You need to implement the custom [dashboard storage](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.IDashboardStorage) to store dashboards. Call the [IDashboardStorage.LoadDashboard](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.IDashboardStorage.LoadDashboard(System.String)) method to return the corresponding dashboard from this storage. This example uses a single dashboard XML template (the `DashboardTemplate.xml` file) and only modifies the dashboard's title to emulate different dashboards. In this particular usage scenario, you can store dashboard layouts in the database and load them from here (for example, see [Dashboard for ASP.NET Core - How to load and save dashboards from/to a database](https://github.com/DevExpress-Examples/asp-net-core-dashboard-save-dashboards-to-database)).
1515

16-
The [List](https://docs.devexpress.com/AspNetCore/400778/devextreme-based-controls/controls/list) control is used to load and display the list of dashboards. The [searchEnabled](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxList/Configuration/#searchEnabled) option of this control is enabled to allow search. You can use other widget options to enable the required functionality. For example, the [itemDragging.allowReordering](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxSortable/Configuration/#allowReordering) option allows end users to reorder items (see [Item Drag & Drop](https://demos.devexpress.com/ASPNetCore/Demo/List/ItemDragging)).
16+
The [List](https://docs.devexpress.com/AspNetCore/400778/devextreme-based-controls/controls/list) control is used to load and display the list of dashboards. The [searchEnabled](https://js.devexpress.com/Angular/Documentation/ApiReference/UI_Components/dxList/Configuration/#searchEnabled) option of this control is enabled to allow search. You can use other widget options to enable the required functionality. For example, the [itemDragging.allowReordering](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxSortable/Configuration/#allowReordering) option allows end users to reorder items (see [Item Drag & Drop](https://demos.devexpress.com/ASPNetCore/Demo/List/ItemDragging)).
1717

1818
> **NOTE:** This example uses the `ProductID` database field as a dashboard's ID. The field's type is `number` while the [DashboardInfo.ID](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.DashboardInfo.ID) property and the [IDashboardStorage.LoadDashboard](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.IDashboardStorage.LoadDashboard(System.String)) method's argument type is `string`. It is necessary to convert types. In this example, this is done in the `NorthwindContext.OnModelCreating` method (see [NorthwindContext.cs](./CS/Models/NorthwindContext.cs)).
1919

0 commit comments

Comments
 (0)