Tuesday, October 13, 2015

Save buttons not working in New Item dialog : Sharepoint 2010

I have faced this issue with the calendar list in sharepoint 2010 on Internet Explorer. While trying to save the Event i got javascript error on this Line

c=a.frames(RTE_GetEditorIFrameID(b))

After lot of struggle and Google i found the solution which i would like to share. Solution is very simple.

Go to Sharepoint Designer
Open Your site
Click on All Files > Lists > <Your List Name >
Open NewForm.aspx  (Right click on the page and click on "Edit File in Advance Mode")
Find PlaceHolderMain
Insert the below script on the page under the PlaceHolderMain

<script type="text/javascript">

function RTE_ConvertTextAreaToRichEdit() {};

</script>

Save the page ,

Now try to save the item in Calendar. It will start saving the items.

In Actual it converts Ritch Text Box to a simple Text Area.


No comments:

Post a Comment