The Links dropdown of CuteEditor by default displays a predefined set of Links.
You can easily modify this default set using the following methods.
|
1: Edit Dropdown Configuration file (Common.config).
You can modify the Links element to create your own Links list. Example:
<Links>
<item text="CuteSoft" value="http://cutesoft.net/"></item>
<item text="Mail to us" value="support@CuteSoft.Net"> </item>
<item text="Yahoo.com" value="http://www.yahoo.com/"></item> </Links>Now the Links dropdown contains the following links.
|
|
<%
Dim editor Set editor = New CuteEditor editor.ID = "Editor1" 'Programmatically populate the Links dropdown. editor.LinksDropDownMenuNames = "CuteSoft,Mail to us,Yahoo.com" editor.LinksDropDownMenuList = "http://cutesoft.net/,mailto:support@CuteSoft.Net,http://www.yahoo.com/" editor.Text = "Hello World" editor.Draw() %> |