Click or drag to resize
KaxToolBarLoadContentFile Method
Populates the KaxToolBar control from external XML file.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public void LoadContentFile(
	string xmlFileName
)

Parameters

xmlFileName
Type: SystemString
The name of the XML file.
Remarks
The newly added items will be appended after any existing ones.
Examples
The following example demonstrates how to populate KaxToolBar control from XML file.
private void Page_Load(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        KaxToolBar1.LoadContentFile("~/ToolBarData.xml");
    }
}
See Also