ASPxRichEditBehaviorSettings.AllowWebContent Property
Specifies whether users can insert images from URLs and whether the Rich Text Editor loads external web content.
Namespace: DevExpress.Web.ASPxRichEdit
Assembly: DevExpress.Web.ASPxRichEdit.v25.2.dll
NuGet Package: DevExpress.Web.Office
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Property Paths
You can access this nested property as listed below:
| Object Type | Path to AllowWebContent |
|---|---|
| ASPxRichEditSettings |
|
Remarks
Set the AllowWebContent property to false to block external web content in the Rich Text Editor:
- External CSS is not applied.
- Images loaded from web URLs are not displayed in the document.
- Users cannot insert images from web URLs through the Insert Image dialog.
<dx:ASPxRichEdit ID="richEdit" runat="server" ClientInstanceName="richEdit">
<Settings>
<Behavior AllowWebContent="false" />
</Settings>
</dx:ASPxRichEdit>
See Also