ASPxNavBar - Client-Side Events

Products
Products
Subscriptions / Packs
.NET Windows Forms Components
Reporting / Printing Suites
VCL Components and Tools
ASP.NET Components

Event monitor
Description
C#
VB
ASPX

This sample demonstrates the capabilities of our client-side event technology. All available client-side events are traced in this demo. Click any navbar item or expand/collapse a group within the navbar control to initiate client-side events.

Client-side event handlers represent code written in JavaScript. In order to handle a client-side event, the sender web control provides a property that accepts either handling code directly or the name of a handling function. This function should be defined either directly in the page's HTML code or in a separate js file. For each client-side event, there is a specific object, which has both server-side and client-side representations. This object will automatically render the necessary JavaScript code to the page and assign it as a handler to the web control on the client side.