Edit this page

OnClientMouseOver

The OnClientMouseOver client-side event occurs when the mouse moves over an item in the panel bar.

The event handler receives two parameters:

  1. The instance of the panel bar firing the event.

  2. An eventArgs parameter containing the following methods:

    • get_item returns a reference to the RadPanelItem under the mouse.

    • get_domEvent() returns the DOM event object.

You can use this event to respond when the mouse is over an item:

<script type="text/javascript">
    function showItem(panelbar, args) {
        var label = document.getElementById("Label1");
        label.innerText = args.get_item().get_text();
    }
</script>
<telerik:radpanelbar id="RadPanelBar1" runat="server" onclientmouseover="showItem">    
    <Items> 
          ...    
    </Items>
</telerik:radpanelbar>
<br />
<br />
<asp:Label ID="Label1" runat="server" Text=""></asp:Label>

See Also