Skip to content

Update ASP.NET code snippets (popular components, batch 1)#8882

Merged
vladaskorohodova merged 2 commits into
DevExpress:26_1from
vladaskorohodova:asp-snippets26_1
Jun 16, 2026
Merged

Update ASP.NET code snippets (popular components, batch 1)#8882
vladaskorohodova merged 2 commits into
DevExpress:26_1from
vladaskorohodova:asp-snippets26_1

Conversation

@vladaskorohodova

Copy link
Copy Markdown
Collaborator

No description provided.

@vladaskorohodova vladaskorohodova self-assigned this Jun 16, 2026
Copilot AI review requested due to automatic review settings June 16, 2026 07:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 vladaskorohodova merged commit 599d6c5 into DevExpress:26_1 Jun 16, 2026
6 checks passed
@vladaskorohodova vladaskorohodova deleted the asp-snippets26_1 branch June 16, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants