select

Menu / Server-side Events

Rate this demo: Feedback
Run example in: C# VB.NET Change Skin:
Vista
  • BlackBlack
  • DefaultDefault
  • ForestForest
  • HayHay
  • Office2007Office2007
  • OutlookOutlook
  • SimpleSimple
  • SitefinitySitefinity
  • SunsetSunset
  • TelerikTelerik
  • VistaVista
  • Web20Web20
  • WebBlueWebBlue
  • Windows7Windows7
Event log:
ItemDataBound: bound to System.Web.SiteMapNode with Title = Products ItemDataBound: bound to System.Web.SiteMapNode with Title = ASP.NET AJAX Controls ItemDataBound: bound to System.Web.SiteMapNode with Title = WinForms Controls ItemDataBound: bound to System.Web.SiteMapNode with Title = WPF Controls ItemDataBound: bound to System.Web.SiteMapNode with Title = Silverlight Controls ItemDataBound: bound to System.Web.SiteMapNode with Title = Telerik Reporting ItemDataBound: bound to System.Web.SiteMapNode with Title = Telerik OpenAccess ORM ItemDataBound: bound to System.Web.SiteMapNode with Title = Sitefinity ASP.NET CMS ItemDataBound: bound to System.Web.SiteMapNode with Title = WebUI Test Studio ItemDataBound: bound to System.Web.SiteMapNode with Title = Consulting ItemDataBound: bound to System.Web.SiteMapNode with Title = On-site Training ItemDataBound: bound to System.Web.SiteMapNode with Title = Consulting Express ItemDataBound: bound to System.Web.SiteMapNode with Title = Open Classes Training ItemDataBound: bound to System.Web.SiteMapNode with Title = Online Training ItemDataBound: bound to System.Web.SiteMapNode with Title = Project Consulting ItemDataBound: bound to System.Web.SiteMapNode with Title = Telerik Webinars ItemDataBound: bound to System.Web.SiteMapNode with Title = Purchase ItemDataBound: bound to System.Web.SiteMapNode with Title = Buy Now ItemDataBound: bound to System.Web.SiteMapNode with Title = Renewals & Upgrades ItemDataBound: bound to System.Web.SiteMapNode with Title = License Agreement ItemDataBound: bound to System.Web.SiteMapNode with Title = FAQ ItemDataBound: bound to System.Web.SiteMapNode with Title = Purchase Orders ItemDataBound: bound to System.Web.SiteMapNode with Title = Contact Sales ItemDataBound: bound to System.Web.SiteMapNode with Title = Support ItemDataBound: bound to System.Web.SiteMapNode with Title = Support by Product ItemDataBound: bound to System.Web.SiteMapNode with Title = Documentation ItemDataBound: bound to System.Web.SiteMapNode with Title = Demos ItemDataBound: bound to System.Web.SiteMapNode with Title = Knowledge Base ItemDataBound: bound to System.Web.SiteMapNode with Title = Telerik Trainer ItemDataBound: bound to System.Web.SiteMapNode with Title = Videos ItemDataBound: bound to System.Web.SiteMapNode with Title = Skins ItemDataBound: bound to System.Web.SiteMapNode with Title = Community ItemDataBound: bound to System.Web.SiteMapNode with Title = Forums ItemDataBound: bound to System.Web.SiteMapNode with Title = Blogs ItemDataBound: bound to System.Web.SiteMapNode with Title = Events ItemDataBound: bound to System.Web.SiteMapNode with Title = Code Library ItemDataBound: bound to System.Web.SiteMapNode with Title = Learning Resources ItemDataBound: bound to System.Web.SiteMapNode with Title = Announcements ItemDataBound: bound to System.Web.SiteMapNode with Title = Free Products ItemDataBound: bound to System.Web.SiteMapNode with Title = Company ItemDataBound: bound to System.Web.SiteMapNode with Title = About Telerik ItemDataBound: bound to System.Web.SiteMapNode with Title = Press Center ItemDataBound: bound to System.Web.SiteMapNode with Title = Careers ItemDataBound: bound to System.Web.SiteMapNode with Title = Contact Us

Example Source Code & Description

Instructions
Open in new window
  • RadMenu introduces three server-side events for working with menu items:

    • ItemClick occurs when the user clicks on a menu item
    • ItemCreated occurs when a new menu item is added to the menu (at any level)
    • ItemDataBound occurs when a menu item is bound to a data source

    This example shows how the ItemClick event can be wired up. In your VB or C# code you only need to set the ItemClick event of the RadMenu class to the event handler that will process the event. Alternatively, you can use declarative event wiring in your ASPX/ASCX templates.
    Please review the source code of this example for additional details.

Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2010 © Telerik. All right reserved  | 
Telerik Inc., 460 Totten Pond Rd, Suite 640, Waltham, MA 02451

www.telerik.com  |  Terms of Use  |  Contact Us