|
1 |
| -<!-- default badges list --> |
2 |
| - |
3 |
| -[](https://supportcenter.devexpress.com/ticket/details/T601084) |
4 |
| -[](https://docs.devexpress.com/GeneralInformation/403183) |
5 |
| -[](#does-this-example-address-your-development-requirementsobjectives) |
6 |
| -<!-- default badges end --> |
7 |
| - |
8 |
| -# Dashboard for ASP.NET Core - How to implement Save As and Delete functionality by creating custom extensions |
9 |
| - |
10 |
| -This example demonstrates how to add the "Save As" and "Delete" [menu items](https://docs.devexpress.com/Dashboard/117444) to the Web Dashboard's UI by implementing the corresponding [custom extensions](https://docs.devexpress.com/Dashboard/117543): |
11 |
| - |
12 |
| -* The "Save As" menu item allows end-users to save the current dashboard with a new name. |
13 |
| -* The "Delete" menu item deletes the opened dashboard from the [dashboard storage](https://docs.devexpress.com/Dashboard/116299). |
14 |
| - |
15 |
| -The image below shows the result of the extensions implementation. |
16 |
| - |
17 |
| - |
18 |
| - |
19 |
| -## Files to Review |
20 |
| - |
21 |
| -* [HomeController.cs](./CS/AspNetCoreDashboard/Controllers/HomeController.cs) |
22 |
| -* [Program.cs](./CS/AspNetCoreDashboard/Program.cs) |
23 |
| -* [CustomDashboardFileStorage.cs](./CS/AspNetCoreDashboard/Storages/CustomDashboardFileStorage.cs) |
24 |
| -* [Index.cshtml](./CS/AspNetCoreDashboard/Pages/Index.cshtml) |
25 |
| -* [_Layout.cshtml](./CS/AspNetCoreDashboard/Pages/_Layout.cshtml#L19-L23) |
26 |
| -* [DeleteExtension.js](./CS/AspNetCoreDashboard/wwwroot/js/DeleteExtension.js) |
27 |
| -* [SaveAsExtension.js](./CS/AspNetCoreDashboard/wwwroot/js/SaveAsExtension.js) |
28 |
| - |
29 |
| -## Documentation |
30 |
| - |
31 |
| -- [Extensions Overview](https://docs.devexpress.com/Dashboard/117543/web-dashboard/ui-elements-and-customization/extensions-overview) |
32 |
| -- [Prepare Dashboard Storage](https://docs.devexpress.com/Dashboard/116299/web-dashboard/aspnet-web-forms-dashboard-control/prepare-dashboard-storage) |
33 |
| - |
34 |
| -## More Examples |
35 |
| - |
36 |
| -- [Web Forms Dashboard - How to implement the Save As and Delete functionality by creating custom extensions](https://github.com/DevExpress-Examples/web-dashboard-how-to-implement-save-as-and-delete-by-creating-custom-extensions-t466761) |
37 |
| -- [MVC Dashboard - How to implement the Save As and Delete functionality by creating custom extensions](https://github.com/DevExpress-Examples/mvc-dashboard-how-to-define-extensions-providing-the-save-as-and-delete-functionality-t504201) |
38 |
| -- [Dashboard for Angular - How to implement Save As and Delete functionality by creating custom extensions](https://github.com/DevExpress-Examples/DashboardCoreAngularSaveAsExtension) |
39 |
| -<!-- feedback --> |
40 |
| -## Does this example address your development requirements/objectives? |
41 |
| - |
42 |
| -[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-core-dashboard-implement-save-as-and-delete-custom-extensions&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-core-dashboard-implement-save-as-and-delete-custom-extensions&~~~was_helpful=no) |
43 |
| - |
44 |
| -(you will be redirected to DevExpress.com to submit your response) |
45 |
| -<!-- feedback end --> |
| 1 | +<!-- default badges list --> |
| 2 | + |
| 3 | +[](https://supportcenter.devexpress.com/ticket/details/T601084) |
| 4 | +[](https://docs.devexpress.com/GeneralInformation/403183) |
| 5 | +[](#does-this-example-address-your-development-requirementsobjectives) |
| 6 | +<!-- default badges end --> |
| 7 | + |
| 8 | +# Dashboard for ASP.NET Core - How to implement Save As and Delete functionality by creating custom extensions |
| 9 | + |
| 10 | +This example demonstrates how to add the "Save As" and "Delete" [menu items](https://docs.devexpress.com/Dashboard/117444) to the Web Dashboard's UI by implementing the corresponding [custom extensions](https://docs.devexpress.com/Dashboard/117543): |
| 11 | + |
| 12 | +* The "Save As" menu item allows end-users to save the current dashboard with a new name. |
| 13 | +* The "Delete" menu item deletes the opened dashboard from the [dashboard storage](https://docs.devexpress.com/Dashboard/116299). |
| 14 | + |
| 15 | +The image below shows the result of the extensions implementation. |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +## Files to Review |
| 20 | + |
| 21 | +* [HomeController.cs](./CS/AspNetCoreDashboard/Controllers/HomeController.cs) |
| 22 | +* [Program.cs](./CS/AspNetCoreDashboard/Program.cs) |
| 23 | +* [CustomDashboardFileStorage.cs](./CS/AspNetCoreDashboard/Storages/CustomDashboardFileStorage.cs) |
| 24 | +* [Index.cshtml](./CS/AspNetCoreDashboard/Pages/Index.cshtml) |
| 25 | +* [_Layout.cshtml](./CS/AspNetCoreDashboard/Pages/_Layout.cshtml#L19-L23) |
| 26 | +* [DeleteExtension.js](./CS/AspNetCoreDashboard/wwwroot/js/DeleteExtension.js) |
| 27 | +* [SaveAsExtension.js](./CS/AspNetCoreDashboard/wwwroot/js/SaveAsExtension.js) |
| 28 | + |
| 29 | +## Documentation |
| 30 | + |
| 31 | +- [Extensions Overview](https://docs.devexpress.com/Dashboard/117543/web-dashboard/ui-elements-and-customization/extensions-overview) |
| 32 | +- [Prepare Dashboard Storage](https://docs.devexpress.com/Dashboard/116299/web-dashboard/aspnet-web-forms-dashboard-control/prepare-dashboard-storage) |
| 33 | + |
| 34 | +## More Examples |
| 35 | + |
| 36 | +- [Web Forms Dashboard - How to implement the Save As and Delete functionality by creating custom extensions](https://github.com/DevExpress-Examples/web-dashboard-how-to-implement-save-as-and-delete-by-creating-custom-extensions-t466761) |
| 37 | +- [MVC Dashboard - How to implement the Save As and Delete functionality by creating custom extensions](https://github.com/DevExpress-Examples/mvc-dashboard-how-to-define-extensions-providing-the-save-as-and-delete-functionality-t504201) |
| 38 | +- [Dashboard for Angular - How to implement Save As and Delete functionality by creating custom extensions](https://github.com/DevExpress-Examples/DashboardCoreAngularSaveAsExtension) |
| 39 | +<!-- feedback --> |
| 40 | +## Does this example address your development requirements/objectives? |
| 41 | + |
| 42 | +[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-core-dashboard-implement-save-as-and-delete-custom-extensions&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-core-dashboard-implement-save-as-and-delete-custom-extensions&~~~was_helpful=no) |
| 43 | + |
| 44 | +(you will be redirected to DevExpress.com to submit your response) |
| 45 | +<!-- feedback end --> |
0 commit comments