Hi all
I have searched quite a bit to find an answer to this problem.
My scenario is WCM and i have followed the RadEditor For Moss included help file telling me to
In the config file:
<property name="AllowScripts">True</property>
In the layoutpage (articleleft.aspx in this scenario) opened in SharePoint Designer - i have changed the <PublishingWebcontrols:RichHTMLField ... with the <radE:RadHtmlfield.... and in that very control set the AllowSpecialTags="True"
Now while the editor leaves the <script language="javascript">function xx(){alert("Hello world");}</script> uppon publishing it still strips my call for the xx function wich i try to call from a button <button onClick="xx">Click Me</button> - the "onClick=xx" has simply been stripped uppon publishing the pageinstance. This is also true for a <a href="javascript:xx()"... as well.
What do i do wrong? I think i have set all the props right according to the instructions provided by telerik?
I might ad that the problem dosnt occur in the webpart wich seems to accept any wich javascript code and functioncalls i want to use. BUT... i need to insert script in the WCM so...? please help.
I have searched quite a bit to find an answer to this problem.
My scenario is WCM and i have followed the RadEditor For Moss included help file telling me to
In the config file:
<property name="AllowScripts">True</property>
In the layoutpage (articleleft.aspx in this scenario) opened in SharePoint Designer - i have changed the <PublishingWebcontrols:RichHTMLField ... with the <radE:RadHtmlfield.... and in that very control set the AllowSpecialTags="True"
Now while the editor leaves the <script language="javascript">function xx(){alert("Hello world");}</script> uppon publishing it still strips my call for the xx function wich i try to call from a button <button onClick="xx">Click Me</button> - the "onClick=xx" has simply been stripped uppon publishing the pageinstance. This is also true for a <a href="javascript:xx()"... as well.
What do i do wrong? I think i have set all the props right according to the instructions provided by telerik?
I might ad that the problem dosnt occur in the webpart wich seems to accept any wich javascript code and functioncalls i want to use. BUT... i need to insert script in the WCM so...? please help.