New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnInitialize
The OnInitialize client-side event occurs when the RadChat starts initializing on the client-side, before the underlying Kendo UI Chat widget is initialized. It can be used for last minute property changes before the underlying Kendo UI widget is initialized. Once the Kendo UI widget is initialized, the OnLoad event is fired.
The event handler receives one parameter:
- The Chat instance firing the event.
ASPNET
<script type="text/javascript">
function onInitialize(sender) {
var chat = sender;
}
</script>
<telerik:RadChat runat="server" ID="RadChat1">
<ClientEvents OnInitialize="onInitialize" />
</telerik:RadChat>