I had a problem getting the dropdown to display the selectItem. text.
The dropdownlist has been added as a cute Editer control, i need to display the dropdown.selecteditem.text within the editor's content.
I can do this with no problem if i set the dropdown as a control outside the editor.
I have pasted some of the code, on dropdown.Attributes["onchange"] i would like to insert dropdown.selecteditem.text instead of InsertLink
DropDownList dropdown = new DropDownList();
container.Controls.Add(dropdown);
dropdown.Attributes["onchange"] = "CuteEditor_DropDownCommand(ths,'InsertLink)";
dropdown.CssClass = "CuteEditorDropDown";
dropdown.DataValueField = "Desc";
dropdown.DataTextField =
"Desc";
dropdown.DataSource = myDT;
dropdown.DataBind();
Thanks in andvance for any help.