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

can only scroll the page with double click when adding rad editor to the page

2 Answers 56 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 28 Jun 2013, 05:01 AM
Hi,

I am trying to add the the editor to a SharePoint 2010 web part in design mode.  When the RadEditor is displayed on the page you are unable to scroll the page in IE unless you double click on the scroll bar?  This is a very strange issue and I can't seem to find a fix.
my code to create the editor is:
if (this.WebPartManager.DisplayMode == WebPartManager.DesignDisplayMode)
{
    Telerik.Web.UI.RadEditor editor = new RadEditor();                   
    editor.Width = 250;
    editor.ToolbarMode = EditorToolbarMode.ShowOnFocus;
    editor.Content = this.BoxContent;
    editor.ToolsWidth = 250;
    editor.BackColor = myColor;
    Controls.Add(editor)
 
}


Any help with this issue would be appreciated.

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 28 Jun 2013, 04:47 PM
Hello,

I am not aware of this problem and you are the first to report it. Under which browser does the problem exist?

Are you able to reproduce it in any of the live demos of RadEditor for ASP.NET AJAX and RadEditor for SharePoint demos?

I would also like to add that in SharePoint scenarios it is recommended to use SPRadEditor instead of the regular RadEditor for ASP.NET AJAX. It automatically registers its dialog and spell check handlers and have a special file browser content provider written to work with the SharePoint libraries.

In order to use it, install the RadEditor for SharePoint 2010: http://www.telerik.com/help/aspnet-ajax/moss-installing_radeditor__radgrid_web_parts_on_sharepoint_2010.html. Then in you custom web solution you can use the SPRadEditorclass, which is defined in the Telerik.SharePoint namespace of the RadEditorSharePoint assembly. The dialog handlers will be automatically configured and the dialog will work without any additional configurations.

Here is a sample web part project with RadEditor for SharePoint 2010: RadEditorWebPart.zip.

You can find more information in the following articles: Installing RadEditor & RadGrid Web Parts on SharePoint 2010 and Using the RadEditor WebPart.

Best regards,
Rumen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Andrew
Top achievements
Rank 1
answered on 01 Jul 2013, 05:39 AM
Hi,

Thanks for the reply.  I added the SPRadEditor instead of the standard editor and the problem has now gone away.

Thanks
Tags
Editor
Asked by
Andrew
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or