Paul,
In the version 5.0, the Link of RichDropDownList has been changed to the TreeDropDownList.
Please use the following code instead:
//Get the TreeDropDownList
//check <item type="treedropdown" name="LinkTree" text="[[Links]]" width="50" command="InsertLink" />
//check Common.config CuteEditor.ToolControl tc = Editor1.ToolControls["LinkTree"];
CuteEditor.TreeDropDownList tdd = (CuteEditor.TreeDropDownList) tc.Control;
//clear the items from configuration files
//see Configuration/Shared/Common.config
//tdd.Items.Clear(); //Add items by code CuteEditor.TreeListItem rootitem=new CuteEditor.TreeListItem("Root",null);
rootitem.Selectable=false;
tdd.Items.Add(rootitem);
rootitem.Items.Add("Asp<font color=red>.Net</font>","Asp.Net","
http://asp.net");
rootitem.Items.Add("DotNetNuke.Net","DotNetNuke.Net","
http://DotNetNuke.com");
rootitem.Items.Add("CuteSoft","CuteSoft","
http://CuteSoft.net");
You can get the full source code of this example in the download package.
The example is under advanced topics:
How to dynamically populate the tree view dropdown menu?
Keep me posted.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp 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