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

Problem with MOSSRadEditor <form> tag not accepting in HtmlMode

1 Answer 25 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
vinay
Top achievements
Rank 1
vinay asked on 31 Jul 2015, 09:10 AM

Hi 

the issue We are getting undefined alert while adding <form> tag in MOSSRadEditor  htmlmode 
user like to copy content from a lot of places but sometime they tends to copy some action tag like < form> into the editForm
after they save it, will hit a pop up error on  undefined. 

 

same issue u can get here 

http://sharepoint.telerik.com/aspnet-ajax/web-parts/Pages/Content-Editor-Web-Part-using-RadEditor.aspx

 ​(U go to html view
Add in <form>
N switch back to Design view
U will get undefine)

please let me know how to solve this issue..

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 03 Aug 2015, 07:07 AM
Hello,

Most likely the problem is that by default the content area of RadEditor for SharePoint 2010 or 2013 is a DIV element. You can not put form elements, when the content area is Div. The reason for this is that it is not correct to nest form elements. What you can do is set the ContentAreaMode property to IFRAME. Review the following article for information on how to do this: http://docs.telerik.com/devtools/aspnet-ajax/sharepoint/2010/radeditor-web-part/configuration/set-properties-via-config-file


Regards,
Stanimir
Telerik
 
Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
Tags
WebParts for SharePoint
Asked by
vinay
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or