3 Answers, 1 is accepted
0
Hello Rory,
Here is an example how to pit the toolbar:
Kind 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.
Here is an example how to pit the toolbar:
<telerik:RadEditor runat="server" ID="RadEditor1" ToolbarMode="ShowOnFocus" OnClientLoad="OnClientLoad"></telerik:RadEditor> <script type="text/javascript">function OnClientLoad(editor, args){ //Get a reference to the toolbar's RadWindow var wnd = editor.get_toolAdapter().get_window(); wnd.add_show(function() { wnd.togglePin(); });} </script>Kind 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
Rory
Top achievements
Rank 1
answered on 18 Mar 2010, 06:47 PM
When I tried to use this code I start getting this javascript error:
Line: 2858
Error: 'get_container()' is null or not an object
In this snippet of code:
Line: 2858
Error: 'get_container()' is null or not an object
In this snippet of code:
if
(!a){return;}var b=a.get_container().clone(e.get_id()+"_toolbarMode");
0
Hi Rory,
It seems that you are using a very old version of RadEditor for ASP.NET AJAX. You should upgrade to the latest Q1 2010 version of RadEditor to be able to achieve your scenario.
For your convenience I have attached a sample working project and video demonstrating how the code works with the latest editor.
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.
It seems that you are using a very old version of RadEditor for ASP.NET AJAX. You should upgrade to the latest Q1 2010 version of RadEditor to be able to achieve your scenario.
For your convenience I have attached a sample working project and video demonstrating how the code works with the latest editor.
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.
