I am facing the Telerik RadEditor Issue With ToolbarMode="ShowOnFocus" working with ASP.NET
<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="OnClientLoad" EditModes="Design" Width="300px" Height="300px" Skin="Outlook" ToolbarMode="ShowOnFocus" ToolsFile="~/xml/Tools.xml">
</telerik:RadEditor>
and add a link button Click me.
<a href="javascript://" onclick="javascript:return Clickme();">Click Me</a>
now on page load i want to load the the tool bar by default, it is happening by doing
function OnClientLoad(editor, args) {
editor.setFocus();
editor.set_html("");
}
but on anchor click i want to write something on radeditor and the toolbar is not visible. i tried to setFocus and set_html("") both.
function Clickme() {
var editor = $find("RadEditor1");
editor.setFocus();
editor.set_html("");
}
have anyone idea about this issue?
<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="OnClientLoad" EditModes="Design" Width="300px" Height="300px" Skin="Outlook" ToolbarMode="ShowOnFocus" ToolsFile="~/xml/Tools.xml">
</telerik:RadEditor>
and add a link button Click me.
<a href="javascript://" onclick="javascript:return Clickme();">Click Me</a>
now on page load i want to load the the tool bar by default, it is happening by doing
function OnClientLoad(editor, args) {
editor.setFocus();
editor.set_html("");
}
but on anchor click i want to write something on radeditor and the toolbar is not visible. i tried to setFocus and set_html("") both.
function Clickme() {
var editor = $find("RadEditor1");
editor.setFocus();
editor.set_html("");
}
have anyone idea about this issue?