diff --git a/api-reference/10 UI Components/GridBase/1 Configuration/editing/form.md b/api-reference/10 UI Components/GridBase/1 Configuration/editing/form.md
index 6857105292..61443cccec 100644
--- a/api-reference/10 UI Components/GridBase/1 Configuration/editing/form.md
+++ b/api-reference/10 UI Components/GridBase/1 Configuration/editing/form.md
@@ -125,7 +125,7 @@ Default form editors depend on the [columns' configuration](/api-reference/10%20
groupItems.AddSimple().DataField("Full_Name");
groupItems.AddSimple().DataField("Position");
groupItems.AddSimple().DataField("Duties")
- .Editor(e => e.TextArea());
+ .Editor(g => g.TextArea());
});
i.AddGroup()
.Caption("Contacts")
diff --git a/api-reference/10 UI Components/GridBase/1 Configuration/filterValue.md b/api-reference/10 UI Components/GridBase/1 Configuration/filterValue.md
index 10868b3a63..5e409ec988 100644
--- a/api-reference/10 UI Components/GridBase/1 Configuration/filterValue.md
+++ b/api-reference/10 UI Components/GridBase/1 Configuration/filterValue.md
@@ -116,7 +116,7 @@ The filter expression can contain the following operations: *"="*, *"<>"*, *"<"*
##### ASP.NET MVC Controls
- @(Html.DevExtreme().DataGrid()
+ @(Html.DevExtreme().{WidgetName}()
// ...
.FilterSyncEnabled(true)
.HeaderFilter(hf => hf.Visible(true))
@@ -257,7 +257,7 @@ If a column's [groupInterval](/api-reference/40%20Common%20Types/15%20grids/Colu
##### ASP.NET MVC Controls
- @(Html.DevExtreme().DataGrid()
+ @(Html.DevExtreme().{WidgetName}()
// ...
// Filter intervals are 500-600 and 700-800
.HeaderFilter(headerFilter => headerFilter.Visible(true))
diff --git a/api-reference/10 UI Components/dxChart/1 Configuration/commonAxisSettings/aggregatedPointsPosition.md b/api-reference/10 UI Components/dxChart/1 Configuration/commonAxisSettings/aggregatedPointsPosition.md
index 5ad63ca515..f2224a4295 100644
--- a/api-reference/10 UI Components/dxChart/1 Configuration/commonAxisSettings/aggregatedPointsPosition.md
+++ b/api-reference/10 UI Components/dxChart/1 Configuration/commonAxisSettings/aggregatedPointsPosition.md
@@ -111,7 +111,9 @@ Specifies the start position of the aggregated series points in the aggregation
@(Html.DevExtreme().Chart()
- .AggregatedPointsPosition(AggregatedPointsPosition.CrossTicks)
+ .CommonAxisSettings(s => s
+ .AggregatedPointsPosition(AggregatedPointsPosition.CrossTicks)
+ )
// ...
)
@@ -119,7 +121,9 @@ Specifies the start position of the aggregated series points in the aggregation
@(Html.DevExtreme().Chart()
- .AggregatedPointsPosition(AggregatedPointsPosition.CrossTicks)
+ .CommonAxisSettings(s => s
+ .AggregatedPointsPosition(AggregatedPointsPosition.CrossTicks)
+ )
// ...
)
diff --git a/api-reference/10 UI Components/dxChart/5 Series Types/CommonSeries/label/displayFormat.md b/api-reference/10 UI Components/dxChart/5 Series Types/CommonSeries/label/displayFormat.md
index 8abb9d6704..a625e55871 100644
--- a/api-reference/10 UI Components/dxChart/5 Series Types/CommonSeries/label/displayFormat.md
+++ b/api-reference/10 UI Components/dxChart/5 Series Types/CommonSeries/label/displayFormat.md
@@ -183,7 +183,6 @@ The example below illustrates how to customize label text for all series and ind
.Visible(true)
)
)
- )
.Series(s => {
s.Add().ValueField("y1564").Name("15-64 years");
s.Add().ValueField("y014").Name("0-14 years");
@@ -205,7 +204,6 @@ The example below illustrates how to customize label text for all series and ind
.Visible(true)
)
)
- )
.Series(s => {
s.Add().ValueField("y1564").Name("15-64 years");
s.Add().ValueField("y014").Name("0-14 years");
diff --git a/api-reference/10 UI Components/dxFileUploader/1 Configuration/onBeforeSend.md b/api-reference/10 UI Components/dxFileUploader/1 Configuration/onBeforeSend.md
index 500c7df8a2..ccaaf593f4 100644
--- a/api-reference/10 UI Components/dxFileUploader/1 Configuration/onBeforeSend.md
+++ b/api-reference/10 UI Components/dxFileUploader/1 Configuration/onBeforeSend.md
@@ -138,7 +138,7 @@ An object that provides information about the file upload session.
@(Html.DevExtreme().FileUploader()
- .OnBeforeSend("onBeforeSend");
+ .OnBeforeSend("onBeforeSend")
// ...
)
@@ -152,7 +152,7 @@ An object that provides information about the file upload session.
@(Html.DevExtreme().FileUploader()
- .OnBeforeSend("onBeforeSend");
+ .OnBeforeSend("onBeforeSend")
// ...
)
diff --git a/api-reference/10 UI Components/dxFileUploader/1 Configuration/onFilesUploaded.md b/api-reference/10 UI Components/dxFileUploader/1 Configuration/onFilesUploaded.md
index c840a8711f..ccfcd95099 100644
--- a/api-reference/10 UI Components/dxFileUploader/1 Configuration/onFilesUploaded.md
+++ b/api-reference/10 UI Components/dxFileUploader/1 Configuration/onFilesUploaded.md
@@ -129,7 +129,7 @@ The UI component's instance.
@(Html.DevExtreme().FileUploader()
- .OnFilesUploaded("onFilesUploaded");
+ .OnFilesUploaded("onFilesUploaded")
// ...
)
@@ -143,7 +143,7 @@ The UI component's instance.
@(Html.DevExtreme().FileUploader()
- .OnFilesUploaded("onFilesUploaded");
+ .OnFilesUploaded("onFilesUploaded")
// ...
)
diff --git a/api-reference/10 UI Components/dxFileUploader/1 Configuration/onUploadError.md b/api-reference/10 UI Components/dxFileUploader/1 Configuration/onUploadError.md
index d2dc5daa9b..43b4c52a5c 100644
--- a/api-reference/10 UI Components/dxFileUploader/1 Configuration/onUploadError.md
+++ b/api-reference/10 UI Components/dxFileUploader/1 Configuration/onUploadError.md
@@ -157,7 +157,7 @@ The following code shows how you can handle a network error.
@(Html.DevExtreme().FileUploader()
- .OnUploadError("onUploadError");
+ .OnUploadError("onUploadError")
// ...
)
@@ -174,7 +174,7 @@ The following code shows how you can handle a network error.
@(Html.DevExtreme().FileUploader()
- .OnUploadError("onUploadError");
+ .OnUploadError("onUploadError")
// ...
)
diff --git a/api-reference/10 UI Components/dxPieChart/5 Series Types/CommonPieChartSeries/label/displayFormat.md b/api-reference/10 UI Components/dxPieChart/5 Series Types/CommonPieChartSeries/label/displayFormat.md
index c8b6383dea..62e95047f3 100644
--- a/api-reference/10 UI Components/dxPieChart/5 Series Types/CommonPieChartSeries/label/displayFormat.md
+++ b/api-reference/10 UI Components/dxPieChart/5 Series Types/CommonPieChartSeries/label/displayFormat.md
@@ -175,7 +175,6 @@ The example below illustrates how to customize label text for all series and ind
.Visible(true)
)
)
- )
.Series(s => {
s.Add().ValueField("y1564").Name("15-64 years");
s.Add().ValueField("y014").Name("0-14 years");
@@ -196,7 +195,6 @@ The example below illustrates how to customize label text for all series and ind
.Visible(true)
)
)
- )
.Series(s => {
s.Add().ValueField("y1564").Name("15-64 years");
s.Add().ValueField("y014").Name("0-14 years");
diff --git a/api-reference/10 UI Components/dxPolarChart/5 Series Types/CommonPolarChartSeries/label/displayFormat.md b/api-reference/10 UI Components/dxPolarChart/5 Series Types/CommonPolarChartSeries/label/displayFormat.md
index 1e170cfca2..5dcf968584 100644
--- a/api-reference/10 UI Components/dxPolarChart/5 Series Types/CommonPolarChartSeries/label/displayFormat.md
+++ b/api-reference/10 UI Components/dxPolarChart/5 Series Types/CommonPolarChartSeries/label/displayFormat.md
@@ -180,7 +180,6 @@ The example below illustrates how to customize label text for all series and ind
.Visible(true)
)
)
- )
.Series(s => {
s.Add().ValueField("y1564").Name("15-64 years");
s.Add().ValueField("y014").Name("0-14 years");
@@ -202,7 +201,6 @@ The example below illustrates how to customize label text for all series and ind
.Visible(true)
)
)
- )
.Series(s => {
s.Add().ValueField("y1564").Name("15-64 years");
s.Add().ValueField("y014").Name("0-14 years");
diff --git a/api-reference/10 UI Components/dxPopup/1 Configuration/toolbarItems/toolbarItems.md b/api-reference/10 UI Components/dxPopup/1 Configuration/toolbarItems/toolbarItems.md
index 1b1145c7cc..2110b17759 100644
--- a/api-reference/10 UI Components/dxPopup/1 Configuration/toolbarItems/toolbarItems.md
+++ b/api-reference/10 UI Components/dxPopup/1 Configuration/toolbarItems/toolbarItems.md
@@ -93,7 +93,7 @@ In the following code, two items are defined on the toolbar: one is plain text,
@(Html.DevExtreme().{WidgetName}()
-
+ // ...
.ContentTemplate(@
{WidgetName} content
)
@@ -106,7 +106,7 @@ In the following code, two items are defined on the toolbar: one is plain text,
.Text("Refresh")
.OnClick("refresh"))
.Location(ToolbarItemLocation.After);
- }
+ })
)
diff --git a/api-reference/30 Data Layer/ArrayStore/ArrayStore.md b/api-reference/30 Data Layer/ArrayStore/ArrayStore.md
index 97015c55e2..9a9fe2a082 100644
--- a/api-reference/30 Data Layer/ArrayStore/ArrayStore.md
+++ b/api-reference/30 Data Layer/ArrayStore/ArrayStore.md
@@ -175,26 +175,6 @@ dx.web.js, dx.viz.js, dx.all.js
}, "id")
)
- @(Html.DevExtreme().WidgetName() _
- .DataSource(Function(ds)
- Return ds.Array() _
- .Key("id") _
- .Data({
- New With { .id = 1, .state = "Alabama", .capital = "Montgomery" },
- New With { .id = 2, .state = "Alaska", .capital = "Juneau" },
- New With { .id = 3, .state = "Arizona", .capital = "Phoenix" }
- })
- End Function)
- )
- @* ===== or a simplified version ===== *@
- @(Html.DevExtreme().WidgetName() _
- .DataSource({
- New With { .id = 1, .state = "Alabama", .capital = "Montgomery" },
- New With { .id = 2, .state = "Alaska", .capital = "Juneau" },
- New With { .id = 3, .state = "Arizona", .capital = "Phoenix" }
- }, "id")
- )
-
---
#include datalayer-store-note-immutable with { name: "ArrayStore" }
diff --git a/api-reference/30 Data Layer/DataSource/1 Configuration/expand.md b/api-reference/30 Data Layer/DataSource/1 Configuration/expand.md
index 996b314cfe..a13e815bbd 100644
--- a/api-reference/30 Data Layer/DataSource/1 Configuration/expand.md
+++ b/api-reference/30 Data Layer/DataSource/1 Configuration/expand.md
@@ -89,14 +89,6 @@ Specifies the navigation properties to be loaded with the OData entity. Availabl
)
)
-
- @(Html.DevExtreme().WidgetName() _
- .DataSource(Function(ds)
- Return ds.OData() _
- .Expand("PropertyName1", "PropertyName2")
- End Function)
- )
-
---
#####See Also#####
diff --git a/api-reference/30 Data Layer/DataSource/1 Configuration/sort.md b/api-reference/30 Data Layer/DataSource/1 Configuration/sort.md
index e929a5445b..7dbecc63af 100644
--- a/api-reference/30 Data Layer/DataSource/1 Configuration/sort.md
+++ b/api-reference/30 Data Layer/DataSource/1 Configuration/sort.md
@@ -157,30 +157,6 @@ A function that returns the value to sort by.
}
-
- @(Html.DevExtreme().WidgetName() _
- .DataSourceOptions(Sub(dso)
- dso.Sort("Position", True) ' for sorting by a single field
- ' === or ===
- dso.Sort("sort_function")
- ' === or ===
- dso.Sort(Sub(s) ' for sorting by multiple fields
- s.AddSorting("Position")
- s.AddSorting("Last_Name", True)
- End Sub)
- End Sub)
- )
-
-
-
---
#####See Also#####
diff --git a/api-reference/30 Data Layer/ODataStore/ODataStore.md b/api-reference/30 Data Layer/ODataStore/ODataStore.md
index a12492beb5..917bc5677b 100644
--- a/api-reference/30 Data Layer/ODataStore/ODataStore.md
+++ b/api-reference/30 Data Layer/ODataStore/ODataStore.md
@@ -143,18 +143,6 @@ dx.web.js, dx.viz.js, dx.all.js
)
)
- @(Html.DevExtreme().WidgetName() _
- .DataSource(Function(ds)
- Return ds.OData() _
- .Url("http://www.example.com/Northwind.svc/Products") _
- .Key("ProductID") _
- .KeyType(EdmType.Int32) _
- @* ... *@
- @* Other ODataStore properties go here *@
- @* ... *@
- End Function)
- )
-
---
To access an entire OData service, use the [ODataContext](/api-reference/30%20Data%20Layer/ODataContext '/Documentation/ApiReference/Data_Layer/ODataContext/') instead.
diff --git a/api-reference/30 Data Layer/XmlaStore/XmlaStore.md b/api-reference/30 Data Layer/XmlaStore/XmlaStore.md
index 6f1b2b6c0e..2758a7d98c 100644
--- a/api-reference/30 Data Layer/XmlaStore/XmlaStore.md
+++ b/api-reference/30 Data Layer/XmlaStore/XmlaStore.md
@@ -138,17 +138,6 @@ The **XmlaStore** is used in the [PivotGridDataSource](/api-reference/30%20Data%
)
)
- @(Html.DevExtreme().PivotGrid() _
- .DataSource(Function(ds)
- Return ds.Store(Function(s)
- Return s.Xmla() _
- .Url("http://my-web-srv01/OLAP/msmdpump.dll") _
- .Catalog("AdventureWorksDW2012") _
- .Cube("Adventure Works")
- End Function)
- End Function)
- )
-
---
The **XmlaStore** currently supports only the Microsoft Analysis Services OLAP tool. Refer to the Multidimensional Modeling tutorial for more information on it. To learn how to configure HTTP access to Analysis Services on IIS, see this article.
diff --git a/api-reference/50 Common/Object Structures/positionConfig/at/at.md b/api-reference/50 Common/Object Structures/positionConfig/at/at.md
index c5f5a0eb42..43a6aadd8f 100644
--- a/api-reference/50 Common/Object Structures/positionConfig/at/at.md
+++ b/api-reference/50 Common/Object Structures/positionConfig/at/at.md
@@ -102,12 +102,5 @@ To set this property, use an object with the **x** and **y** fields. These field
)
)
-
- @(Html.DevExtreme().Popup() _
- .Position(Sub(p)
- p.At(HorizontalAlignment.Left, VerticalAlignment.Top)
- End Sub)
- )
-
---
diff --git a/api-reference/50 Common/Object Structures/positionConfig/boundaryOffset/boundaryOffset.md b/api-reference/50 Common/Object Structures/positionConfig/boundaryOffset/boundaryOffset.md
index 0639b20dd0..07bab58920 100644
--- a/api-reference/50 Common/Object Structures/positionConfig/boundaryOffset/boundaryOffset.md
+++ b/api-reference/50 Common/Object Structures/positionConfig/boundaryOffset/boundaryOffset.md
@@ -104,11 +104,4 @@ In the following code, left and right boundaries are narrowed (**x** is 50), but
)
)
-
- @(Html.DevExtreme().Popup() _
- .Position(Sub(p)
- p.BoundaryOffset(50, -50)
- End Sub)
- )
-
---
diff --git a/api-reference/50 Common/Object Structures/positionConfig/collision/collision.md b/api-reference/50 Common/Object Structures/positionConfig/collision/collision.md
index c3fd5359b0..6e81901c85 100644
--- a/api-reference/50 Common/Object Structures/positionConfig/collision/collision.md
+++ b/api-reference/50 Common/Object Structures/positionConfig/collision/collision.md
@@ -116,11 +116,4 @@ To set the **collision** property, use an object with the **x** and **y** fields
)
)
-
- @(Html.DevExtreme().Popup() _
- .Position(Sub(p)
- p.Collision(PositionResolveCollision.Flip, PositionResolveCollision.None)
- End Sub)
- )
-
---
diff --git a/api-reference/50 Common/Object Structures/positionConfig/my/my.md b/api-reference/50 Common/Object Structures/positionConfig/my/my.md
index f807bae034..f1022dffa7 100644
--- a/api-reference/50 Common/Object Structures/positionConfig/my/my.md
+++ b/api-reference/50 Common/Object Structures/positionConfig/my/my.md
@@ -102,12 +102,5 @@ To set this property, use an object with the **x** and **y** fields. These field
)
)
-
- @(Html.DevExtreme().Popup() _
- .Position(Sub(p)
- p.My(HorizontalAlignment.Left, VerticalAlignment.Top)
- End Sub)
- )
-
---
diff --git a/api-reference/50 Common/Object Structures/positionConfig/offset/offset.md b/api-reference/50 Common/Object Structures/positionConfig/offset/offset.md
index 181833b4b0..1c7a643d74 100644
--- a/api-reference/50 Common/Object Structures/positionConfig/offset/offset.md
+++ b/api-reference/50 Common/Object Structures/positionConfig/offset/offset.md
@@ -104,11 +104,4 @@ In the following code, the overlay element is shifted 50 pixels to the right and
)
)
-
- @(Html.DevExtreme().Popup() _
- .Position(Sub(p)
- p.Offset(50, -25)
- End Sub)
- )
-
---
diff --git a/api-reference/_hidden/GridBaseColumn/calculateDisplayValue.md b/api-reference/_hidden/GridBaseColumn/calculateDisplayValue.md
index bd701f2aa1..44ed304843 100644
--- a/api-reference/_hidden/GridBaseColumn/calculateDisplayValue.md
+++ b/api-reference/_hidden/GridBaseColumn/calculateDisplayValue.md
@@ -118,15 +118,6 @@ This property accepts the name of the [data source field](/api-reference/10%20UI
)
)
-
- @(Html.DevExtreme().{WidgetName}() _
- .Columns(Sub(columns)
- columns.Add() _
- .DataField("CountryID") _
- .CalculateDisplayValue("Country")
- End Sub)
- )
-
---
... or a function that combines display values. Specify this function only if all data processing operations are [executed on the client](/api-reference/10%20UI%20Components/dxDataGrid/1%20Configuration/remoteOperations '{basewidgetpath}/Configuration/remoteOperations/').
@@ -250,14 +241,6 @@ This property accepts the name of the [data source field](/api-reference/10%20UI
}
-
- @(Html.DevExtreme().{WidgetName}() _
- .Columns(Sub(columns)
- columns.Add() _
- .DataField("CountryID") _
- .CalculateDisplayValue(New JS("getCountryWithCapital"))
- End Sub)
- )
-
---
#####See Also#####
diff --git a/concepts/05 UI Components/Popup/10 Show and Hide the Popup/01 API.md b/concepts/05 UI Components/Popup/10 Show and Hide the Popup/01 API.md
index fe58183cd4..2d5bd9ab67 100644
--- a/concepts/05 UI Components/Popup/10 Show and Hide the Popup/01 API.md
+++ b/concepts/05 UI Components/Popup/10 Show and Hide the Popup/01 API.md
@@ -67,38 +67,6 @@ To show or hide the Popup programmatically, call the [show()](/api-reference/10%
)
)
- @Code
- Html.DevExtreme().Popup() _
- .ID("popup") _
- .Title("Popup Title") _
- .ContentTemplate(Sub()
- @
- Popup content
-
- End Sub).Render()
- Html.DevExtreme().Button() _
- .ID("showButton") _
- .Text("Show the Popup") _
- .OnClick("showButton_click").Render()
- Html.DevExtreme().Button() _
- .ID("hideButton") _
- .Text("Hide the Popup") _
- .OnClick("hideButton_click").Render()
- End Code
-
-
-
##### Angular
To show or hide the Popup programmatically, bind the [visible](/api-reference/10%20UI%20Components/dxPopup/1%20Configuration/visible.md '/Documentation/ApiReference/UI_Components/dxPopup/Configuration/#visible') property of Popup to a component property. After that, change the latter property, and the Popup will appear or disappear.