Enable Javascript not work.
I set Editor1.AllowScriptCode = True in server side but the Javascript is removed when i save?
I have this in code behind:
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx Web Messenger: http://cutesoft.net/Web-Messenger/default.aspxasp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspxasp wysiwyg html editor: http://cutesoft.net/ASP asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx Live Support: http://cutesoft.net/live-support/default.aspx
I try Editor1.TagWhiteList = "script" and all html tag like table and other is been stripped?????
Can you tell me how to config Ritch Text Editor to allow this: <script type="text/javascript" src="/xxxxx/xxxx.js"></script>
It is hurry....
Dear kjell.ek,
Please try Editor1.TagBlackList="";
Regards,
Jeff
No, dont work with that, same problem.
<script type="text/javascript" src="/xxxx.js"></script> is stripped............
Please check this example:
http://richtexteditor.com/test/property/allowscriptcode.aspx
Here is the setting of this editor:
<RTE:Editor ID="Editor1" AllowScriptCode="true" TagBlackList="" runat="server" />
Now i found the problem, and you have a bug ;-)
This work: <RTE:Editor ID="Editor1" AllowScriptCode="true" TagBlackList=""
But if i get it in server side/code behind it does not work!!
Editor1.AllowScriptCode = True
Editor1.TagBlackList = ""
hi kjell.ek,
Please set it in page on init.
Ken