SettingsLoadingPanel.Text Property
SECURITY NOTE
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 Http
Review the following help topic to better protect websites from cross-site scripting (XSS) attacks: HTML Encoding.
Gets or sets the text to be displayed within a specific loading panel invoked while waiting for a callback response.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | "Loading…" | A string that specifies the descriptive text displayed within a loading panel. |
#Property Paths
You can access this nested property as listed below:
#Remarks
#Examples
- ASPxGridView
Web Forms:
<dx:ASPxGridView ID="grid" ClientInstanceName="grid" runat="server" DataSourceID="CustomersDataSource" KeyFieldName="CustomerID" Width="100%">
<Columns>
...
</Columns>
<SettingsLoadingPanel Mode="ShowOnStatusBar" Text="Custom Text" />
</dx:ASPxGridView>
MVC:
@Html.DevExpress().GridView(settings => {
...
settings.SettingsLoadingPanel.Mode = GridViewLoadingPanelMode.ShowOnStatusBar;
settings.SettingsLoadingPanel.Text = "Custom Text";
...
}).Bind(Model).GetHtml()
- ASPxTreeList
Web Forms:
<dx:ASPxTreeList ID="treeList" ...>
<SettingsLoadingPanel Text="Custom Text" />
<Columns>
...
</Columns>
</dx:ASPxTreeList>
MVC:
@Html.DevExpress().TreeList(settings => {
settings.Name = "treeList";
settings.SettingsLoadingPanel.Text = "Custom Text";
...
}).Bind(Model).GetHtml()
- ASPxCardview
Web Forms:
<dx:ASPxCardView ID="CardView" runat="server" ...>
<SettingsLoadingPanel Mode="ShowOnStatusBar" Text="Custom Text" />
<Columns>
...
</Columns>
</dx:ASPxCardView>
MVC:
@Html.DevExpress().CardView(
settings => {
settings.Name = "CardView";
settings.SettingsLoadingPanel.Mode = GridViewLoadingPanelMode.ShowOnStatusBar;
settings.SettingsLoadingPanel.Text = "Custom Text";
...
}).Bind(Model).GetHtml()
- ASPxHtmlEditor
Web Forms:
<dx:ASPxHtmlEditor ID="DemoHtmlEditor" runat="server" Height="370px" Width="100%">
<SettingsLoadingPanel Enabled="true" Text="Custom Text" />
...
</dx:ASPxHtmlEditor>
MVC:
@Html.DevExpress().HtmlEditorFor(m => m.Html, settings => {
...
settings.SettingsLoadingPanel.Enabled = true;
settings.SettingsLoadingPanel.Text = "Custom Text";
...
}).GetHtml()