Gets or sets the file extension filters that control which files are shown in the
Template Manager dialog.
Namespace: Telerik.WebControls
Assembly: RadEditor (in RadEditor.dll)
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property TemplateFilters As String() |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As RadEditor
Dim value() As String
instance.TemplateFilters = value
value = instance.TemplateFilters
|
| C# | |
|---|
public string[] TemplateFilters {get; set;} |
Return Value
A string array which contains the file extension filters that control which files
are shown in the Template Manager dialog.
The default filters are *.html, *.htm.
Example
This example demonstrates how to set the Template Manager dialog to display only
*.xhtml files using ASPX declaration or code-behind.
<rade:radeditor
runat="server"
id="RadEditor1"
templatefilters="*.xhtml"
/>
| Visual Basic | Copy Code |
|---|
RadEditor1.TemplateFilters = New String(1) {"*.xhtml"}
|
| C# | Copy Code |
|---|
RadEditor1.TemplateFilters = New String[1] {"*.xhtml"};
|
Remarks
Requirements
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also