Hi,
I created this simple RadEditor through code behind, set ToolBar through ToolsDefault.xml and set an external CSS files for styles to appear in "Apply Css Class" drop-down. But they don't appear in the drop down. It works when i create an editor in ".aspx" page. but with code behind the drop-down is empty.
Could you please help! I need to load styles from an external file and i am stuck.
thanks.
I created this simple RadEditor through code behind, set ToolBar through ToolsDefault.xml and set an external CSS files for styles to appear in "Apply Css Class" drop-down. But they don't appear in the drop down. It works when i create an editor in ".aspx" page. but with code behind the drop-down is empty.
RadEditor htmlEditor = new RadEditor(); |
htmlEditor.ExternalDialogsPath = "~/EditorDialogs/"; |
htmlEditor.ToolsFile = "~/EditorDialogs/ToolsDefault.xml"; |
htmlEditor.CssFiles.Add("~/EditorDialogs/Test.css"); |
this.form1.Controls.Add(htmlEditor); |
Could you please help! I need to load styles from an external file and i am stuck.
thanks.