ASP.NET Easy Menu - What is the EventList property

The EventList property specifies which events should be handled by the current menu.
The events are specfied by separating them with commas (,).
The possible events are:
     · OnBeforeMenuOpen event is triggered before the menu is shown on the page.
     · OnAfterMenuOpen event is triggered after the menu has been displayed on the page.
     · OnBeforeMenuClose event is triggered before the menu is closed.
     · OnAfterMenuClose event is triggered after the menu has been closed.
     · OnBeforeItemClick event is triggered before the menu item click is processed.
     · OnAfterItemClick event is triggered after the menu item click has been processed.

After you have specified the events to be used by a menu, you can edit the file easy_menu_events_version.js and write your own code inside the predefined functions. You can find more details about each function and the parameters they get from the comments inside the file.

The OnBefore... events allow you to return a boolean value (true or false) and depending on that value, the event is carried on or dropped. For example if you return false from OnBeforeMenuOpen, the menu will not be displayed on the page.

Events are very useful since you can use them to add your own functionality to the menus while they are working:
     - you can add/remove items.
     - you can prevent the menus from being opened/closed or the items from being clicked.
     - you can use our AJAX Page control to send data to server for saving.

Here is how you can specify the EventList property:
    <oem:EasyMenu id="EasyMenu1" runat="server" EventsScriptPath="events_script"
         EventList="OnBeforeMenuOpen, OnAfterMenuClose, OnBeforeItemClick">

The menu below will alert you on any item click with the information available to be sent to server. For these menus we've used:
    <oem:EasyMenu id="EasyMenu1" runat="server" EventsScriptPath="events_script"

Easy Menu Home 
Easy Menu Home
Site Map
Compare with Text Menu
Examples - 79
Appearance - 11
Live Styles
Horizontal Right To Left
Transparent - over flash
With rounded corners
Keep Open New
Expand Animations New
Vertical 1
MS Vertical
Vertical Right To Left
Context Menu - 10
World Map
Style 1
Style 2
Style 3
Right To Left
Tab Strip - 8
Tab Strip
Live Styles
Tab Strip - With postback New
Parent Child Tabstrip New
Tab Strip - Wizard
Tab Strip - Wizard 2
Add / Remove Tabs
Add / Remove Tabs 2
Time Picker - 1
Time Picker
Populating with data - 5
Binding to DataReader New
Binding to DataTable New
Binding to SqlDataSource New
Binding to ObjectDataSource New
Fast loading time
Multi Column Menu - 2
Multi Column Submenu New
Multi Column Submenu with Icons New
Multiple menus - 3
Multiple menus
Multiple menus 2
Horizontal menu and Tab Strip
Operations - 9
ShowEvent New
Add / Remove Items New
Hide / Show Items New
Menu item inner HTML New
Attach / Detach
Menu Events
Menu item postback
Show menu New
Align/Position - 4
Advanced Align
Menu Offsets
Integration  - 14
TreeView - 5
Attach to TreeView
Dynamic Loading
Inside callback panel
Select the TreeView node New
TreeView inside Easy Menu
AJAX Page - 3
Inside AJAX Page panel
Inside MS AJAX panel
Add items server side
Grid - 2
Use With Grid
Inside DataGrid column
Inside WindowNew
Build from SiteMap
Over Java Applet
With Data Controls New
Other features - 12
Menu Icons
Menu Customize
Long vertical menus
Long menu items
Disabled menu item
Dynamic Easy Menu Item
Full Easy Menu width
Hide menu with time delay
Custom sliding effect New
Custom Menu Content New
Knowledge Base - 1
Knowledge Base
Documentation - 4
Server side
Client side
Using the correct path
Tutorials - 2
Using Database
Postback Persistance