UploadControlStyles.Native Property
Gets or sets a value specifying whether an UploadControl is rendered as a native HTML file input element.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true if editors should be rendered using a standard HTML element; otherwise, false. |
Remarks
By default, the Native property is set to false, and the UploadControl is rendered so that it fully supports customization of its appearance (by applying DevExpress Themes and/or changing different properties).
If the Native property is set to true, the UploadControl is rendered using a standard HTML INPUT element of the FILE type. In this case, a control appearance depends upon how a client browser interprets and displays the corresponding HTML element.
Note that native rendering results in less HTML code, thus improving the application’s overall performance.