This is a migrated thread and some comments may be shown as answers.

syntax question for RadEditor

3 Answers 89 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 12 Apr 2011, 05:04 PM
We purchased the Telerik controls through a software development company but did not get documentation.  So sorry if this question is a little basic.

The RadEditor is on a page as follows below.  What is the syntax to add the bulleted list toolbar button?

<

 

telerik:RadEditor ID="txtText" runat="server" Height="200px" Width="400px" ToolTip="Post Body" EnableEmbeddedSkins="false">

 

 

    <Tools>

 

 

        <telerik:EditorToolGroup>

 

 

            <telerik:EditorTool Name="Bold" />

 

 

            <telerik:EditorTool Name="Italic" />

 

 

            <telerik:EditorTool Name="Underline" />

 

 

            <telerik:EditorTool Name="Cut" />

 

 

            <telerik:EditorTool Name="Copy" />

 

 

            <telerik:EditorTool Name="Paste" />

 

 

            <telerik:EditorTool Name="FontName" />

 

 

            <telerik:EditorTool Name="FontSize" />

 

 

            <telerik:EditorTool Name="ForeColor" />
        
</telerik:EditorToolGroup>
    
</Tools>

 

 

    <Content>

 

 

    </Content>

 

 

</telerik:RadEditor>

 

3 Answers, 1 is accepted

Sort by
0
Rumen Jekov
Top achievements
Rank 1
answered on 12 Apr 2011, 07:11 PM
Hi,

the documentation is available at http://www.telerik.com/help/aspnet-ajax/editor-toolbar-intro.html
The tool names that you need are: InsertUnorderedList and InsertOrderedList.

Best regards,
Rumen
0
Bob
Top achievements
Rank 1
answered on 13 Apr 2011, 12:42 PM
Thanks for the reply but when I add  <telerik:EditorTool Name="InsertUnorderedList " /> directly to the aspx page I do not get the bulleted list toolbar button?  I can get the button if I add it through the OnInit event to the page.
0
Rumen
Telerik team
answered on 15 Apr 2011, 07:57 AM
Hello Bob,

You should not experience this problem. For your convenience I have prepared and attached a sample working project which enables the InsertOrderedList and InsertUnorderedList tools on the toolbar.

By the way you learn how to configure the RadEditor's toolbar items in the following live demo: Setting Toolbars.

Best regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
Bob
Top achievements
Rank 1
Answers by
Rumen Jekov
Top achievements
Rank 1
Bob
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or