Gets or sets the part of the absolute IMG URLs which will be removed when
StripAbsoluteImagesPaths is set to true.
Namespace: Telerik.WebControls
Assembly: RadEditor (in RadEditor.dll)
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property ImagesPathToStrip As String |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As RadEditor
Dim value As String
instance.ImagesPathToStrip = value
value = instance.ImagesPathToStrip
|
| C# | |
|---|
public string ImagesPathToStrip {get; set;} |
Return Value
A string containing the part of the absolute IMG URLs which will be removed when
StripAbsoluteImagesPaths is set to
true. The default value is
string.Empty.
Example
This example demonstrates the URL changing mechnanisms of Internet Explorer and
RadEditor.
If the RadEditor is placed in a page with URL
http://www.telerik.com/management/default.aspx
and an image with URL "img/radeditor.jpg" is put on the page using the
RadEditor, Internet Explorer will change image's URL to
http://www.telerik.com/management/img/radeditor.jpg .
If the StripAbsoluteImagesPaths
property is set to true, the RadEditor will change the
image's URL to:
| ImagesPathToStrip value | Result URL |
| string.Empty (default) | /management/img/radeditor.jpg |
| http://www.tel | erik.com/management/img/radeditor.jpg |
| http://www.telerik.com | /management/img/radeditor.jpg |
| http://www.telerik.com/ | management/img/radeditor.jpg |
| http://www.telerik.com/management | /img/radeditor.jpg |
| http://www.telerik.com/management/ | img/radeditor.jpg |
| http://www.telerik.com/management/img | /radeditor.jpg |
| http://www.telerik.com/management/img/ | radeditor.jpg |
Remarks
Requirements
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also