Display Enum
Specifies how the editor error message is rendered.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Members
Name | Description | Image |
---|---|---|
Static
|
An editor initially renders an empty space reserved for the error message. |
|
Dynamic
|
An editor renders the space for the error message dynamically at the moment the editor fails validation. |
|
None
|
No error message is displayed. |
Related API Members
The following properties accept/return Display values:
Remarks
<div class="caption">
<dx:ASPxLabel runat="server" ID="Label1" AssociatedControlID="TextBox1" Text="Dynamic:" />
</div>
<div class="editor">
<dx:ASPxTextBox runat="server" EnableClientSideAPI="True" Width="100%" ID="TextBox1">
<ValidationSettings Display="Dynamic">
<RequiredField IsRequired="True" ErrorText="Value is required" />
</ValidationSettings>
<InvalidStyle BackColor="LightPink" />
</dx:ASPxTextBox>
</div>
<div class="caption">
<dx:ASPxLabel runat="server" ID="Label2" AssociatedControlID="TextBox2" Text="Static:" />
</div>
<div class="editor">
<dx:ASPxTextBox runat="server" EnableClientSideAPI="True" Width="100%" ID="TextBox2">
<ValidationSettings Display="Static" >
<RequiredField IsRequired="True" ErrorText="Value is required" />
</ValidationSettings>
<InvalidStyle BackColor="LightPink" />
</dx:ASPxTextBox>
</div>
See Also