Update ASP.NET code snippets (popular components, batch 1)#8882
Merged
vladaskorohodova merged 2 commits intoJun 16, 2026
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates DevExtreme documentation pages with refreshed ASP.NET (Razor C#) snippets across several popular components and common API reference topics.
Changes:
- Removes legacy Razor VB examples from multiple pages and keeps Razor C# equivalents.
- Adjusts several ASP.NET snippets for consistency (placeholders, fluent syntax, and specific API calls).
- Applies small markup/code corrections in a few non-ASP.NET snippets (for example, JSX comment syntax).
Reviewed changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 17 comments.
Show a summary per file
| File | Description |
|---|---|
| concepts/05 UI Components/Popup/10 Show and Hide the Popup/01 API.md | Updates Popup show/hide guidance and ASP.NET snippet set. |
| concepts/05 UI Components/LoadIndicator/05 Show and Hide Using the API.md | Updates LoadIndicator show/hide guidance and ASP.NET snippet set. |
| api-reference/50 Common/Object Structures/positionConfig/offset/offset.md | Updates position offset doc and ASP.NET snippet set. |
| api-reference/50 Common/Object Structures/positionConfig/my/my.md | Updates position “my” doc and ASP.NET snippet set. |
| api-reference/50 Common/Object Structures/positionConfig/collision/collision.md | Updates collision doc and ASP.NET snippet set. |
| api-reference/50 Common/Object Structures/positionConfig/boundaryOffset/boundaryOffset.md | Updates boundaryOffset doc and ASP.NET snippet set. |
| api-reference/50 Common/Object Structures/positionConfig/at/at.md | Updates position “at” doc and ASP.NET snippet set. |
| api-reference/30 Data Layer/XmlaStore/XmlaStore.md | Updates XmlaStore usage examples for ASP.NET. |
| api-reference/30 Data Layer/ODataStore/ODataStore.md | Updates ODataStore usage examples for ASP.NET. |
| api-reference/30 Data Layer/DataSource/1 Configuration/sort.md | Updates DataSource sort examples for ASP.NET. |
| api-reference/30 Data Layer/DataSource/1 Configuration/expand.md | Updates DataSource expand examples for ASP.NET. |
| api-reference/30 Data Layer/ArrayStore/ArrayStore.md | Updates ArrayStore usage examples for ASP.NET. |
| api-reference/10 UI Components/GridBase/1 Configuration/filterValue.md | Updates GridBase filterValue ASP.NET snippets to use widget placeholders. |
| api-reference/10 UI Components/GridBase/1 Configuration/editing/form.md | Minor update inside the ASP.NET form editing example. |
| api-reference/10 UI Components/dxTreeList/3 Methods/getSelectedRowsData(mode).md | Updates ASP.NET example call to include a specific mode. |
| api-reference/10 UI Components/dxTextEditor/1 Configuration/inputAttr.md | Updates inputAttr examples and removes Razor VB snippet. |
| api-reference/10 UI Components/dxScheduler/1 Configuration/resources/allowMultiple.md | Updates ASP.NET resource configuration snippet for allowMultiple. |
| api-reference/10 UI Components/dxPopup/1 Configuration/toolbarItems/toolbarItems.md | Updates ASP.NET toolbarItems snippet formatting. |
| api-reference/10 UI Components/dxPolarChart/5 Series Types/CommonPolarChartSeries/label/displayFormat.md | Fixes ASP.NET snippet parentheses for label displayFormat example. |
| api-reference/10 UI Components/dxPieChart/5 Series Types/CommonPieChartSeries/label/displayFormat.md | Fixes ASP.NET snippet parentheses for label displayFormat example. |
| api-reference/10 UI Components/dxFileUploader/1 Configuration/onUploadError.md | Fixes ASP.NET fluent call syntax (removes stray semicolons). |
| api-reference/10 UI Components/dxFileUploader/1 Configuration/onFilesUploaded.md | Fixes ASP.NET fluent call syntax (removes stray semicolons). |
| api-reference/10 UI Components/dxFileUploader/1 Configuration/onBeforeSend.md | Fixes ASP.NET fluent call syntax (removes stray semicolons). |
| api-reference/10 UI Components/dxChart/5 Series Types/CommonSeries/label/displayFormat.md | Fixes ASP.NET snippet parentheses for label displayFormat example. |
| api-reference/10 UI Components/dxChart/1 Configuration/commonAxisSettings/aggregatedPointsPosition.md | Updates ASP.NET snippet to configure the option under CommonAxisSettings. |
| api-reference/_hidden/GridBaseColumn/calculateDisplayValue.md | Updates calculateDisplayValue page and removes Razor VB snippet. |
| api-reference/_hidden/dxHtmlEditorToolbar/items/items.md | Fixes a React JSX comment typo in a snippet. |
| @@ -1,4 +1,4 @@ | |||
| [note] In this article, the [Button](/api-reference/10%20UI%20Components/dxButton '/Documentation/ApiReference/UI_Components/dxButton/') UI component is used to demonstrate how to show and hide the Popup. This choice is made for purely demonstrational purposes, and you can do the same operations using another UI component following the same guidelines. | |||
| [note] In this article, the [Button](/api-reference/10%20UI%20Components/dxButton '/Documentation/ApiReference/UI_Components/dxButton/') UI component is used to demonstrate how to show and hide the Popup. This choice is made for purely demonstrational purposes, and you can do the same operations using another UI component following the same guidelines. | |||
| @@ -1,4 +1,4 @@ | |||
| [note] In this article, the [Button](/api-reference/10%20UI%20Components/dxButton '/Documentation/ApiReference/UI_Components/dxButton/') UI component is used to demonstrate how to show and hide the LoadIndicator. This choice is made for purely demonstrational purposes, and you can do the same operations using another UI component following the same guidelines. | |||
| [note] In this article, the [Button](/api-reference/10%20UI%20Components/dxButton '/Documentation/ApiReference/UI_Components/dxButton/') UI component is used to demonstrate how to show and hide the LoadIndicator. This choice is made for purely demonstrational purposes, and you can do the same operations using another UI component following the same guidelines. | |||
| @@ -1,4 +1,4 @@ | |||
| --- | |||
| --- | |||
| @@ -1,4 +1,4 @@ | |||
| --- | |||
| --- | |||
| @@ -1,4 +1,4 @@ | |||
| --- | |||
| --- | |||
| @@ -1,4 +1,4 @@ | |||
| --- | |||
| --- | |||
| @@ -1,4 +1,4 @@ | |||
| --- | |||
| --- | |||
| <!-- tab: Index.cshtml --> | ||
| @(Html.DevExtreme().{WidgetName}() | ||
| <!-- ... --> | ||
| @* ... *@ |
| @(Html.DevExtreme().Scheduler() | ||
| .DataSource(Model.Appointments) | ||
| .Resources(res => { | ||
| .Resources((Action<CollectionFactory>) (res => { |
| @(Html.DevExtreme().Scheduler() | ||
| .DataSource(Model.Appointments) | ||
| .Resources(res => { | ||
| .Resources((Action<CollectionFactory>) (res => { |
vladaskorohodova
added a commit
that referenced
this pull request
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.