KaxToolBarLoadContentFile Method |
Populates the KaxToolBar control from external XML file.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic void LoadContentFile(
string xmlFileName
)
Public Sub LoadContentFile (
xmlFileName As String
)
public:
void LoadContentFile(
String^ xmlFileName
)
member LoadContentFile :
xmlFileName : string -> unit
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");
}
}
Private Sub Page_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
KaxToolBar1.LoadContentFile("~/ToolBarData.xml")
End If
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also