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/Readme.md b/Readme.md index aa81e26..26e04c9 100644 --- a/Readme.md +++ b/Readme.md @@ -2,6 +2,7 @@ ![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128579874/17.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/T518504) [![](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) *Files to look at*: @@ -25,3 +26,10 @@ The following example shows how to get underlying data for the specified dashbo - [ASP.NET Core Dashboard - How to obtain a dashboard item's client data](https://github.com/DevExpress-Examples/asp-net-core-dashboard-get-client-data) - [ASP.NET Core Dashboard - How to obtain a dashboard item's underlying data for a clicked visual element](https://github.com/DevExpress-Examples/asp-net-core-dashboard-get-underlying-data-for-clicked-item) - [ASP.NET Core Dashboard - How to obtain underlying data for the specified dashboard item](https://github.com/DevExpress-Examples/asp-net-core-dashboard-display-item-underlying-data) + +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-web-forms-dashboard-display-item-underlying-data&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-web-forms-dashboard-display-item-underlying-data&~~~was_helpful=no) + +(you will be redirected to DevExpress.com to submit your response) + diff --git a/VB/ASPxDashboard_RequestUnderlyingData.sln b/VB/ASPxDashboard_RequestUnderlyingData.sln index f0b4f67..377e7cf 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData.sln +++ b/VB/ASPxDashboard_RequestUnderlyingData.sln @@ -1,4 +1,4 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 +Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 diff --git a/VB/ASPxDashboard_RequestUnderlyingData/ASPxDashboard_RequestUnderlyingData.vbproj b/VB/ASPxDashboard_RequestUnderlyingData/ASPxDashboard_RequestUnderlyingData.vbproj index 339a5d3..9bd5d53 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/ASPxDashboard_RequestUnderlyingData.vbproj +++ b/VB/ASPxDashboard_RequestUnderlyingData/ASPxDashboard_RequestUnderlyingData.vbproj @@ -2,17 +2,22 @@ + On Debug AnyCPU - + + 2.0 {2BC03E2C-BCF3-4C61-9769-0ECE0B548449} {349c5851-65df-11da-9384-00065b846f21};{F184B08F-C81C-45F6-A57F-5ABD9991F28F} Library - + Properties + + ASPxDashboard_RequestUnderlyingData v4.5.2 - + + 4.0 true @@ -21,40 +26,24 @@ - On - Binary - Off - On true full false bin\ - true - true + DEBUG,TRACE prompt + 4 pdbonly true bin\ - false - true + TRACE prompt + 4 - - - - - - - - - - - - @@ -125,7 +114,7 @@ Global.asax - + @@ -147,7 +136,8 @@ http://localhost:50411/ False False - + + False diff --git a/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx b/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx index 77fe68a..23997cd 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx +++ b/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx @@ -1,4 +1,4 @@ -<%@ Page Language="vb" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="ASPxDashboard_RequestUnderlyingData.Default" %> +<%@ Page Language="VB" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="ASPxDashboard_RequestUnderlyingData.Default" %> <%@ Register Assembly="DevExpress.Dashboard.v17.1.Web, Version=17.1.17.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.DashboardWeb" TagPrefix="dx" %> @@ -24,6 +24,6 @@ - + - \ No newline at end of file + diff --git a/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.designer.vb b/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.designer.vb index 5774647..59e7481 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.designer.vb +++ b/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.designer.vb @@ -1,33 +1,31 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Namespace ASPxDashboard_RequestUnderlyingData - - - Partial Public Class [Default] - - ''' - ''' form1 control. - ''' - ''' - ''' Auto-generated field. - ''' To modify move field declaration from designer file to code-behind file. - ''' - Protected form1 As Global.System.Web.UI.HtmlControls.HtmlForm - - ''' - ''' ASPxDashboard1 control. - ''' - ''' - ''' Auto-generated field. - ''' To modify move field declaration from designer file to code-behind file. - ''' - Protected ASPxDashboard1 As Global.DevExpress.DashboardWeb.ASPxDashboard - End Class -End Namespace +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ +Namespace ASPxDashboard_RequestUnderlyingData + + Public Partial Class [Default] + + ''' + ''' form1 control. + ''' + ''' + ''' Auto-generated field. + ''' To modify move field declaration from designer file to code-behind file. + ''' + Protected form1 As Global.System.Web.UI.HtmlControls.HtmlForm + + ''' + ''' ASPxDashboard1 control. + ''' + ''' + ''' Auto-generated field. + ''' To modify move field declaration from designer file to code-behind file. + ''' + Protected ASPxDashboard1 As Global.DevExpress.DashboardWeb.ASPxDashboard + End Class +End Namespace diff --git a/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.vb b/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.vb index 21c950f..a3cf3ef 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.vb +++ b/VB/ASPxDashboard_RequestUnderlyingData/Default.aspx.vb @@ -1,16 +1,13 @@ -Imports System -Imports System.Collections.Generic -Imports System.Linq -Imports System.Web -Imports System.Web.UI -Imports System.Web.UI.WebControls - -Namespace ASPxDashboard_RequestUnderlyingData - Partial Public Class [Default] - Inherits System.Web.UI.Page - - Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) - - End Sub - End Class -End Namespace \ No newline at end of file +Imports System +Imports System.Web.UI +Imports System.Web.UI.WebControls + +Namespace ASPxDashboard_RequestUnderlyingData + + Public Partial Class [Default] + Inherits Page + + Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) + End Sub + End Class +End Namespace diff --git a/VB/ASPxDashboard_RequestUnderlyingData/Global.asax b/VB/ASPxDashboard_RequestUnderlyingData/Global.asax index e05097c..e75f9f5 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/Global.asax +++ b/VB/ASPxDashboard_RequestUnderlyingData/Global.asax @@ -1 +1 @@ -<%@ Application Codebehind="Global.asax.vb" Inherits="ASPxDashboard_RequestUnderlyingData.Global_asax" Language="vb" %> \ No newline at end of file +<%@ Application Codebehind="Global.asax.vb" Inherits="ASPxDashboard_RequestUnderlyingData.Global_asax" Language="VB" %> diff --git a/VB/ASPxDashboard_RequestUnderlyingData/Global.asax.vb b/VB/ASPxDashboard_RequestUnderlyingData/Global.asax.vb index 77cf011..dad8479 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/Global.asax.vb +++ b/VB/ASPxDashboard_RequestUnderlyingData/Global.asax.vb @@ -1,36 +1,33 @@ -Imports System - Imports System.Collections.Generic - Imports System.Linq - Imports System.Web - Imports System.Web.Security - Imports System.Web.SessionState - Imports DevExpress.Web - - Namespace ASPxDashboard_RequestUnderlyingData - Public Class Global_asax - Inherits System.Web.HttpApplication - - Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) - AddHandler DevExpress.Web.ASPxWebControl.CallbackError, AddressOf Application_Error - End Sub - - Private Sub Application_End(ByVal sender As Object, ByVal e As EventArgs) - ' Code that runs on application shutdown - End Sub - - Private Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) - ' Code that runs when an unhandled error occurs - End Sub - - Private Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) - ' Code that runs when a new session is started - End Sub - - Private Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) - ' Code that runs when a session ends. - ' Note: The Session_End event is raised only when the sessionstate mode - ' is set to InProc in the Web.config file. If session mode is set to StateServer - ' or SQLServer, the event is not raised. - End Sub - End Class - End Namespace \ No newline at end of file +Imports System +Imports System.Web +Imports DevExpress.Web + +Namespace ASPxDashboard_RequestUnderlyingData + + Public Class Global_asax + Inherits HttpApplication + + Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) + AddHandler ASPxWebControl.CallbackError, New EventHandler(AddressOf Application_Error) + End Sub + + Private Sub Application_End(ByVal sender As Object, ByVal e As EventArgs) + ' Code that runs on application shutdown + End Sub + + Private Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) + ' Code that runs when an unhandled error occurs + End Sub + + Private Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) + ' Code that runs when a new session is started + End Sub + + Private Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) + ' Code that runs when a session ends. + ' Note: The Session_End event is raised only when the sessionstate mode + ' is set to InProc in the Web.config file. If session mode is set to StateServer + ' or SQLServer, the event is not raised. + End Sub + End Class +End Namespace diff --git a/VB/ASPxDashboard_RequestUnderlyingData/My Project/AssemblyInfo.vb b/VB/ASPxDashboard_RequestUnderlyingData/Properties/AssemblyInfo.vb similarity index 57% rename from VB/ASPxDashboard_RequestUnderlyingData/My Project/AssemblyInfo.vb rename to VB/ASPxDashboard_RequestUnderlyingData/Properties/AssemblyInfo.vb index f40f6e4..682d410 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/My Project/AssemblyInfo.vb +++ b/VB/ASPxDashboard_RequestUnderlyingData/Properties/AssemblyInfo.vb @@ -1,35 +1,31 @@ -Imports System.Reflection -Imports System.Runtime.CompilerServices -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - - - - - - - - - -' Setting ComVisible to false makes the types in this assembly not visible -' to COM components. If you need to access a type in this assembly from -' COM, set the ComVisible attribute to true on that type. - - -' The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Revision and Build Numbers -' by using the '*' as shown below: - - \ No newline at end of file +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + + + + + + + + +' Setting ComVisible to false makes the types in this assembly not visible +' to COM components. If you need to access a type in this assembly from +' COM, set the ComVisible attribute to true on that type. + +' The following GUID is for the ID of the typelib if this project is exposed to COM + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Revision and Build Numbers +' by using the '*' as shown below: + + diff --git a/VB/ASPxDashboard_RequestUnderlyingData/Web.Debug.config b/VB/ASPxDashboard_RequestUnderlyingData/Web.Debug.config index f7c5612..2e302f9 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/Web.Debug.config +++ b/VB/ASPxDashboard_RequestUnderlyingData/Web.Debug.config @@ -1,4 +1,4 @@ - + diff --git a/VB/ASPxDashboard_RequestUnderlyingData/Web.Release.config b/VB/ASPxDashboard_RequestUnderlyingData/Web.Release.config index 52c6bbe..c358444 100644 --- a/VB/ASPxDashboard_RequestUnderlyingData/Web.Release.config +++ b/VB/ASPxDashboard_RequestUnderlyingData/Web.Release.config @@ -1,4 +1,4 @@ - +