Hi,
My requirement is to create a horizontal menu bar with say about 5 items(picked from the DB). If I click on the item, it needs to display the sub menu in a horizontal menu bar, instead of the normal vertical display. I also want the main menu items to have different colors upon their selection.
I am trying to use some styling on the Menu bar and menu items in them. I have created a custom file (CustomMenu.css). I tried the using the vaious classes that are a part of MenuItemLook (eg : ItemCSSClass, ItemContCssClass, etc), they dont seem to work when I give custom class names, but they work with the default class names. The only problem with default class names is that I would not be able to change the look of the menu item dynamically (depending on the tab selected). Have tried all the options in the
http://www2.syncfusion.com/ug_62/toolsweb/default.html, but no use.
As for the event handlers, I am not able to trigger the event. The method name is defined in the properties of the Menu. I have defined the method as follows :
protected bool Menu1_ItemSelect(object oSender, Syncfusion.Web.UI.WebControls.Tools.MenuCommandEventArgs e)
{
// My method definition
}
public void Menu1_ItemCommand(object oSender, Syncfusion.Web.UI.WebControls.Tools.MenuCommandEventArgs e)
{
// Method Definition
}
Any help will be greatly Appreciated.
Thanks
Preetha