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

Removing RadEditor toolbars with javascript

2 Answers 85 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 29 Jun 2010, 01:41 PM
Hi,
I need to completely remove RadEditor Toolbars. How can I do this with javascript?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Jun 2010, 06:51 AM
Hello Alex,

Hide the toolbar from client side using the following code.

javascript:
 
    function toolbar() { 
        var editor = $find("<%= RadEditor1.ClientID %>"); 
        editor.get_toolContainer().style.display = "none"
    } 


-Shinu.
0
Alex
Top achievements
Rank 1
answered on 30 Jun 2010, 09:38 AM
Hi Shinu
Thanks, i'ts exactly what i'm looking for.
Tags
Editor
Asked by
Alex
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Alex
Top achievements
Rank 1
Share this question
or