Click or drag to resize
KaxTabControlOnClientLoad Property
Gets or sets the name of the javascript function called when the control is fully initialized on the client side.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public string OnClientLoad { get; set; }

Property Value

Type: String
A string specifying the name of the javascript function called when the control is fully initialized on the client side. The default value is empty string.
Remarks

Use the OnClientLoad property to specify a JavaScript function that is executed after the control is initialized on the client side. A single parameter is passed to the handler, which is the client-side KaxTabControl object.

Examples
The following example demonstrates how to use the OnClientLoad property.

<script language="javascript">
function ClientTabControlLoad(tabcontrol, eventArgs)
{
alert(tabcontrol.get_id() + " is loaded.");
}
</script>

<kettic:KaxTabControl id="KaxTabControl1" runat="server" OnClientLoad="ClientTabControlLoad">
<Tabs>
<kettic:KaxTab Text="Personal Details"></kettic:KaxTab>
<kettic:KaxTab Text="Education"></kettic:KaxTab>
<kettic:KaxTab Text="Computing Skills"></kettic:KaxTab>
</Tabs>
</kettic:KaxTabControl>

See Also