Back to Devexpress

DropDownEditBaseAdaptivitySettings.ModalDropDownCaption Property

aspnet-devexpress-dot-web-dot-dropdowneditbaseadaptivitysettings.md

latest2.5 KB
Original Source

DropDownEditBaseAdaptivitySettings.ModalDropDownCaption Property

SECURITY-RELATED CONSIDERATIONS

Setting this property to values from an untrusted source may introduce security-related issues, since the property value is not encoded and is rendered as HTML markup. Call the HttpUtility.HtmlEncode method to encode the value.

Review the following help topic to better protect websites from cross-site scripting (XSS) attacks: HTML Encoding.

Specifies the drop-down editor’s caption.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string ModalDropDownCaption { get; set; }
vb
<DefaultValue("")>
Public Property ModalDropDownCaption As String

Property Value

TypeDefaultDescription
StringString.Empty

A string value that specifies the drop-down editor’s caption.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ModalDropDownCaption
ASPxDropDownEditBase

.SettingsAdaptivity .ModalDropDownCaption

| | DropDownEditPropertiesBase |

.SettingsAdaptivity .ModalDropDownCaption

|

Remarks

Note

The ModalDropDownCaption proerty is in effect if the dropdown editor is in modal mode.

Online Demo

Modal DropDowns

See Also

DropDownEditBaseAdaptivitySettings Class

DropDownEditBaseAdaptivitySettings Members

DevExpress.Web Namespace