This site has a nice open source Web Menu
www.skmmenu.com
I want to add some custom functionality but have had no luck. There is an event procedure for when a menu item is clicked.
The function is:
The MenuItemClickEventArgs e only holds one property called CommandName.Code:private void Menu1_MenuItemClick(object sender, skmMenu.MenuItemClickEventArgs e) { }
I want to add more properties to the MenuItemClickEventArgs class that would give me more information about what MenuItem was clicked.
I hoped I could somehow override this event but apparently this is a fixed system function:
So on a postback, the only thing that can be passed back as an argument is one string.Code:void IPostBackEventHandler.RaisePostBackEvent(string eventArgument) { OnMenuItemClick(new MenuItemClickEventArgs(eventArgument)); }
The only thing I can think of is to put several values in a comma separated string and parse it but that sucks!
Can anyone help?




Reply With Quote