The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxGridListEditor.UseASPxGridViewDataSpecificColumns Property

Namespace: DevExpress.ExpressApp.Web.Editors.ASPx

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


public static bool UseASPxGridViewDataSpecificColumns { get; set; }
Public Shared Property UseASPxGridViewDataSpecificColumns As Boolean

Property Value

Type Default Description


true, if the data-specific column types are used for data cells; otherwise - false.


By default, the UseASPxGridViewDataSpecificColumns property value is true, i.e., data-specific column types are used for data cells. If there is no appropriate data-specific column type, data cell values are displayed using the ITemplate templates specified by the GridViewDataColumn.DataItemTemplate property. Edit cells use templates specified by GridViewDataColumn.EditItemTemplate, providing rich editing capabilities via the editors that are also used in Detail Views.

If the UseASPxGridViewDataSpecificColumns is false, the DataItemTemplate is always used for data cells. Note, in this case in the Batch edit mode, new rows cannot be edited and saved. To change the UseASPxGridViewDataSpecificColumns value, add the following code to the Application_Start method located in the Global.asax.cs (Global.asax.vb) file.

protected void Application_Start(Object sender, EventArgs e) {
    ASPxGridListEditor.UseASPxGridViewDataSpecificColumns = false;
    // ... 

Please note the following limitations of data-specific columns:

  • You cannot navigate to a referenced object by clicking a cell that displays a reference property.
  • The "N/A" text is not displayed for null reference values.
See Also