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

Drop Down Paste Functionality

5 Answers 80 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Kyle Schiele
Top achievements
Rank 1
Kyle Schiele asked on 25 Jul 2008, 02:42 PM

The following example shows a Paste Options button that provides a drop down of the RadEditor’s advanced paste functionality (Paste, Paste from Word, Paste from word strip font, paste plain text, past as html). With the default toolset radio button selected.  Can anyone suggest an approach to achieve this functionality?

 

Kyle http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/Default/DefaultCS.aspx

5 Answers, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 25 Jul 2008, 03:53 PM

 If you want to create similar button/dropdown,you can use the code below:

<telerik:RadEditor ID="RadEditor1" runat="server">  
            <Tools> 
                <telerik:EditorToolGroup> 
                     
                    <telerik:EditorToolStrip Name="Bold">  
                        <telerik:EditorTool Name="Bold" /> 
                        <telerik:EditorTool Name="Italic" /> 
                    </telerik:EditorToolStrip> 
                </telerik:EditorToolGroup> 
            </Tools> 
        </telerik:RadEditor> 
0
Kyle Schiele
Top achievements
Rank 1
answered on 25 Jul 2008, 03:57 PM
Thanks for the reply,

Thanks for the approach can this be accomplished in the tools file?

Kyle
0
George
Telerik team
answered on 28 Jul 2008, 08:30 AM
Hi Kyle,

Please review the following Help article that shows how to achieve the desired behavior: 
http://www.telerik.com/help/aspnet-ajax/createtoolstrip.html


I hope this helps.

Sincerely,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Kyle Schiele
Top achievements
Rank 1
answered on 29 Jul 2008, 05:33 PM

I have created the following tools file. It does not render a tool strip. Any coments? 


<root>
<modules>
</modules>

<tools name="TestGroup1" dockable="true" enabled="true">
<EditorToolStrip Name="Apply Formatting">
<EditorTool Name="Bold" />
<EditorTool Name="Italic" />
<EditorTool Name="Underline" />
</EditorToolStrip>
</tools>



<links>

</links>
<snippets>
</snippets>

<symbols>

</symbols>
<fontNames>
</fontNames>
<fontSizes>
</fontSizes>

<colors>
</colors>
<classes>
</classes>

<paragraphs>
</paragraphs>

<dialogParameters>
</dialogParameters>
<languages>
</languages>
</root>

0
Rumen
Telerik team
answered on 30 Jul 2008, 01:27 PM
Hi Kyle,

Please, make sure that you are using RadEditor for ASP.NET AJAX, because the solution for RadEditor Classic is other.

I made a test using the provided ToolsFile content and I was able to create a ToolStrip element in the toolbar. You can see my test in the attached video as well as test my sample project. Am I missing something?


Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Kyle Schiele
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Kyle Schiele
Top achievements
Rank 1
George
Telerik team
Rumen
Telerik team
Share this question
or