Click or drag to resize
KaxEditorLinks Property
Gets the collection containing the links to put in the Custom Links dropdown.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public EditorLinkCollection Links { get; }

Property Value

Type: EditorLinkCollection
A Link object containing the links to put in the Custom Links dropdown.
Remarks

The Custom Links dropdown of the KaxEditor is a very convenient tool for inserting predefined hyperlinks.

Note: the links can be organized in a tree like structure.

Examples
This example demonstrates how to create a tree like structure of custom links.
private void Page_Load(object sender, EventArgs e)
{
    //Add the root
    KaxEditor1.Links.Add("Kettic", "http://www.kettic.com");
    //Add the Products node and its children
    KaxEditor1.Links["Kettic"].Add("Products", "http://www.kettic.com/products");
    KaxEditor1.Links["Kettic"]["Products"].Add("KaxControls", "http://www.kettic.com/kaxcontrols");
    KaxEditor1.Links["Kettic"]["Products"].Add("KaxEditor", "http://www.kettic.com/KaxEditor");
    KaxEditor1.Links["Kettic"]["Products"]["KaxEditor"].Add("QSF", "http://www.kettic.com/demos/aspnet/Editor/Examples/Default/DefaultCS.aspx");
    //Add Purchase, Support and Client.Net nodes
    KaxEditor1.Links["Kettic"].Add("Purchase", "http://www.kettic.com/purchase");
    KaxEditor1.Links["Kettic"].Add("Support", "http://www.kettic.com/support");
    KaxEditor1.Links["Kettic"].Add("Client.Net", "http://www.kettic.com/clientnet");
}
See Also