diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml new file mode 100644 index 0000000..fc11f81 --- /dev/null +++ b/.github/workflows/vale.yml @@ -0,0 +1,30 @@ +name: vale-validation +on: + pull_request: + paths: + - README.md + - readme.md + - Readme.md + +jobs: + vale: + name: runner / vale + runs-on: ubuntu-latest + steps: + - name: clone repo + uses: actions/checkout@v4 + - name: clone vale-styles repo + uses: actions/checkout@v4 + with: + repository: DevExpress/vale-styles + path: vale-styles + ssh-key: ${{ secrets.VALE_STYLES_ACCESS_KEY }} + - name: copy vale rules to the root repo + run: shopt -s dotglob && cp -r ./vale-styles/vale/* . + - name: vale linter check + uses: DevExpress/vale-action@reviewdog + with: + files: '["README.md", "readme.md", "Readme.md"]' + fail_on_error: true + filter_mode: nofilter + reporter: github-check diff --git a/CS/MvcDashboard_ServerExport/MvcDashboard_ServerExport.csproj b/CS/MvcDashboard_ServerExport/MvcDashboard_ServerExport.csproj index c73d63b..43f23cc 100644 --- a/CS/MvcDashboard_ServerExport/MvcDashboard_ServerExport.csproj +++ b/CS/MvcDashboard_ServerExport/MvcDashboard_ServerExport.csproj @@ -98,38 +98,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.AspNet.WebPages.Data.3.2.3\lib\net45\WebMatrix.Data.dll diff --git a/CS/MvcDashboard_ServerExport/Web.config b/CS/MvcDashboard_ServerExport/Web.config index e807548..c5a4130 100644 --- a/CS/MvcDashboard_ServerExport/Web.config +++ b/CS/MvcDashboard_ServerExport/Web.config @@ -6,11 +6,11 @@ -
-
-
-
-
+
+
+
+
+
@@ -45,11 +45,11 @@ - - + + - + @@ -57,11 +57,11 @@ - + - - + + diff --git a/Readme.md b/Readme.md index acb3d9f..b95f304 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,20 @@ + +![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128579131/18.1.3%2B) +[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T590027) +[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) +[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives) + # ASP.NET MVC Dashboard - How to implement server-side export This example demonstrates how to export a dashboard displayed using the ASP.NET MVC Dashboard extension on the server side using the WebDashboardExporter class. The following API is used: * The ASPxClientDashboard.BeforeRender event is handled to obtain the client-side DashboardControl with the ASPxClientDashboard.GetDashboardControl method. -* The AJAX request is used to send the dashboard identifier and state to the server side. On the server side, these values are received as action method parameters and passed to the WebDashboardExporter.ExportToPdf method. \ No newline at end of file +* The AJAX request is used to send the dashboard identifier and state to the server side. On the server side, these values are received as action method parameters and passed to the WebDashboardExporter.ExportToPdf method. + +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-mvc-dashboard-implement-server-side-export&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-mvc-dashboard-implement-server-side-export&~~~was_helpful=no) + +(you will be redirected to DevExpress.com to submit your response) + diff --git a/VB/MvcDashboard_ServerExport/MvcDashboard_ServerExport.vbproj b/VB/MvcDashboard_ServerExport/MvcDashboard_ServerExport.vbproj index 1b5137d..4567c10 100644 --- a/VB/MvcDashboard_ServerExport/MvcDashboard_ServerExport.vbproj +++ b/VB/MvcDashboard_ServerExport/MvcDashboard_ServerExport.vbproj @@ -113,38 +113,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.AspNet.WebPages.Data.3.2.3\lib\net45\WebMatrix.Data.dll diff --git a/VB/MvcDashboard_ServerExport/Web.config b/VB/MvcDashboard_ServerExport/Web.config index 8962825..80c4991 100644 --- a/VB/MvcDashboard_ServerExport/Web.config +++ b/VB/MvcDashboard_ServerExport/Web.config @@ -6,11 +6,11 @@ -
-
-
-
-
+
+
+
+
+
@@ -30,37 +30,37 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -82,11 +82,11 @@ - - + + - + @@ -94,11 +94,11 @@ - + - - + +