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:
- Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
-
- Editor1.EnableAntiSpamEmailEncoder = True
- Editor1.UseHTMLEntities = False
-
- Editor1.Skin = "office2003silver2"
-
- Editor1.SecurityPolicyFile = "admin.config"
- Editor1.Toolbar = "admin_toolbar"
- Editor1.EnableObjectResizing = False
- Editor1.AllowScriptCode = True
- Editor1.EditCompleteDocument = True
-
- Editor1.PasteMode = RTE.RTEPasteMode.Disabled
- Editor1.ShowPreviewToolbar = False
- Editor1.ShowCodeToolbar = False