Text/HTML

You can paste code using the Telerik editor, simply by adding a tool bar item which is very easy in DotNetNuke 6. The code below is a sample that is pasted into the Text/HTML module. 


01./// <summary>
02.///
03./// </summary>
04./// <param name="e"></param>
05.protected override void OnLoad(EventArgs e) {
06.    base.OnLoad(e);
07. 
08.    Framework.jQuery.RequestUIRegistration();
09.    //Page.ClientScript.RegisterClientScriptInclude("autocomplete", TemplateSourceDirectory + "/js/jquery.smart_autocomplete.js");
10.}

All you have to do to enable this functionality is go to the Host -> HTML Editor Manager page (in new 6.0 installs) and select the proper editor file being used on your site and add in the extra toolbar configuration item as shown in the screenshot below.