
lina fetisova
Top achievements
Rank 1
lina fetisova
asked on 20 Aug 2010, 04:32 AM
Good day!
Please, can you tell me, if I use RadEditor as an html editor how can I set content for meta tags, meta keywords, etc?
Please, can you tell me, if I use RadEditor as an html editor how can I set content for meta tags, meta keywords, etc?
7 Answers, 1 is accepted
0
Hi Lina,
You can use the Page Properties dialog of RadEditor to insert keywords in the edited content. More information is available at: Full HTML Page Edit. If you want to insert different meta tags, you can modify the PageProperties dialog using the instructions provided in this live demo: Customize Built-in Dialogs.
All the best,
Rumen
the Telerik team
You can use the Page Properties dialog of RadEditor to insert keywords in the edited content. More information is available at: Full HTML Page Edit. If you want to insert different meta tags, you can modify the PageProperties dialog using the instructions provided in this live demo: Customize Built-in Dialogs.
All the best,
Rumen
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

lina fetisova
Top achievements
Rank 1
answered on 23 Aug 2010, 04:41 AM
great thank for you, Rumen! =)
but I have one more small question:
if it's poddible to add
to simple list of tools in RadEditor? I want to see all the list of tools &
but I have one more small question:
if it's poddible to add
<telerik:EditorTool Name="PageProperties" Text="Page Properties" />
to simple list of tools in RadEditor? I want to see all the list of tools &
PageProperties
=)0

lina fetisova
Top achievements
Rank 1
answered on 24 Aug 2010, 08:54 AM
?
0
Hello Lina,
You can find a list of all RadEditor's tools in the following article: Introduction to Toolbars. The following article provides guidance how to set / add new buttons: Adding Standard Buttons.
Best regards,
Rumen
the Telerik team
You can find a list of all RadEditor's tools in the following article: Introduction to Toolbars. The following article provides guidance how to set / add new buttons: Adding Standard Buttons.
Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

lina fetisova
Top achievements
Rank 1
answered on 24 Aug 2010, 09:52 AM
Rumen, thank you, but I know how to add standart items - I want to have all the standart tools (like in this example - http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx ) and one more tool - PageProperties.
When I try to add it (both using
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="PageProperties" />
</telerik:EditorToolGroup>
</Tools>
or
EditorToolGroup metagroup = new EditorToolGroup();
int toolscount = reMaterial.Tools.Count;
reMaterial.Tools.Insert(toolscount, metagroup);
EditorTool metabutton = new EditorTool();
metabutton.Name = "PageProperties";
metabutton.Text = "Мета-теги записи";
metagroup.Tools.Add(metabutton); )
I loose all the standard tools =((
May I add the PageProperties tool to default tools without making a huge ToolFile or Tool tag including the names of all standard tools?
When I try to add it (both using
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="PageProperties" />
</telerik:EditorToolGroup>
</Tools>
or
EditorToolGroup metagroup = new EditorToolGroup();
int toolscount = reMaterial.Tools.Count;
reMaterial.Tools.Insert(toolscount, metagroup);
EditorTool metabutton = new EditorTool();
metabutton.Name = "PageProperties";
metabutton.Text = "Мета-теги записи";
metagroup.Tools.Add(metabutton); )
I loose all the standard tools =((
May I add the PageProperties tool to default tools without making a huge ToolFile or Tool tag including the names of all standard tools?
0
Hi Lina,
If you set the tools inline, you should manually define all tools inside the Tools tags:
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="PageProperties" />
...
</telerik:EditorToolGroup>
</Tools>
However, if you want to add a button from the codebehind and keep the default too buttons all you need to do is to set the RadEditor1.EnsureToolsFileLoaded(); method before adding the new button:
reMaterial.EnsureToolsFileLoaded();
EditorToolGroup metagroup = new EditorToolGroup();
int toolscount = reMaterial.Tools.Count;
reMaterial.Tools.Insert(toolscount, metagroup);
EditorTool metabutton = new EditorTool();
metabutton.Name = "PageProperties";
metabutton.Text = "Мета-теги записи";
metagroup.Tools.Add(metabutton); )
Another approach is to configure RadEditor to use the default ToolsFile.xml file and put the new button in it. You can download the default toolsfile from this KB article: Default ToolsFile.xml file of RadEditor for ASP.NET AJAX.
Sincerely yours,
Rumen
the Telerik team
If you set the tools inline, you should manually define all tools inside the Tools tags:
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="PageProperties" />
...
</telerik:EditorToolGroup>
</Tools>
However, if you want to add a button from the codebehind and keep the default too buttons all you need to do is to set the RadEditor1.EnsureToolsFileLoaded(); method before adding the new button:
reMaterial.EnsureToolsFileLoaded();
EditorToolGroup metagroup = new EditorToolGroup();
int toolscount = reMaterial.Tools.Count;
reMaterial.Tools.Insert(toolscount, metagroup);
EditorTool metabutton = new EditorTool();
metabutton.Name = "PageProperties";
metabutton.Text = "Мета-теги записи";
metagroup.Tools.Add(metabutton); )
Another approach is to configure RadEditor to use the default ToolsFile.xml file and put the new button in it. You can download the default toolsfile from this KB article: Default ToolsFile.xml file of RadEditor for ASP.NET AJAX.
Sincerely yours,
Rumen
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

lina fetisova
Top achievements
Rank 1
answered on 25 Aug 2010, 03:36 AM
great!!! =))
Rumen, it works!!! thank you very much!!!
Rumen, it works!!! thank you very much!!!