Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.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 Web Forms User Control to be displayed within the current View Item.

Namespace: DevExpress.ExpressApp.Web.Editors

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

NuGet Package: DevExpress.ExpressApp.Web

Declaration

[Required]
string CustomControlPath { get; set; }

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 Web Forms) topic.

See Also