New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientShown
The OnClientShown event occurs just after the notification is shown. This event is not cancellable.
The event handler receives the following parameters:
-
The RadNotification client instance that fired the event.
-
Event arguments object.
ASP.NET
<telerik:RadNotification RenderMode="Lightweight" runat="server" ID="RadNotification1" VisibleOnPageLoad="true"
Position="BottomRight" Width="250px" Height="100px"
OnClientShown="OnClientShown" Text="Sample notification text">
</telerik:RadNotification>
<script type="text/javascript">
function OnClientShown(sender, eventArgs)
{
alert("OnClientShown event fired by RadNotification with id: " + sender.get_id());
}
</script>