Hi Adam,
I am using this code to populate "Links" dropdown dynamically:
CuteEditor.ToolControl toolctrl = Editor1.ToolControls["Links"];
if(toolctrl!=null) {
CuteEditor.RichDropDownList dropdown = (CuteEditor.RichDropDownList)Editor1.ToolControls["Links"].Control;
//clear the items from configuration files dropdown.Items.Clear();
//add the caption dropdown.Items.Add("Internal Links");
//add text and value dropdown.Items.Add("home page", Page.ResolveUrl("~/Default.aspx?pageId=12") );
}
and there is one item in the dropdown "home page" and link is created properly, but Spell checker starts to generate an javascript error. When I comment this code the spell checker works ok.
Any ideas why?
Thanks
Radostina