Hello,
Has anyone had any luck using the Telerik/DNN controls?
I'm trying to use the Editor control, which displays ok but I can't access via Javascript.
All I want to do is get the html generated by the editor, but obviously i must be missing something as the get_html function, please see my code below, does not exits.
Can anyone please help. A resources which explains how to use the controls from a DNN perspective would be useful.
Best Regards,
Steve
ASCX
====
<%@ Register Assembly="DotNetNuke.Web" Namespace="DotNetNuke.Web.UI.WebControls" TagPrefix="cc1" %>
<cc1:DnnEditor ID="WysiwygDescription" ClientIDMode="Static" runat="server"></cc1:DnnEditor>
Javascript
========
var editor = $(Container.find("#WysiwygDescription")); //get a reference to RadEditor client object
var oSelElem = editor.get_html(true); //get the editor content as plain text
alert(oSelElem); //alert the plain text content
http://www.telerik.com/help/aspnet-ajax/editor-get-html.html