KaxTabControlLoadContentFile Method |
Populates the KaxTabControl 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 override void LoadContentFile(
string xmlFileName
)
Public Overrides Sub LoadContentFile (
xmlFileName As String
)
public:
virtual void LoadContentFile(
String^ xmlFileName
) override
abstract LoadContentFile :
xmlFileName : string -> unit
override 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
KaxTabControl control
from XML file.
private void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
KaxTabControl1.LoadContentFile("~/Data.xml");
}
}
Private Sub Page_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
KaxTabControl1.LoadContentFile("~/Data.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