.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

IModelCustomUserControlViewItemWeb.CustomControlPath Property

Specifies the path to the ASP.NET User Control to be displayed within the current View Item.

Namespace: DevExpress.ExpressApp.Web.Editors

Assembly: DevExpress.ExpressApp.Web.v19.2.dll

Declaration

[Required]
string CustomControlPath { get; set; }
<Required>
Property CustomControlPath As String

Property Value

Type Description
String

A string path to the Web User Control to be displayed within the current View Item.

Remarks

To show the Web User Control within the View Item, assign the ASCX file path to the CustomControlPath property.

DataBoundControlWeb4

The complete example is provided in the How to: Show a Custom Data-Bound Control in an XAF View (ASP.NET) topic.

See Also