Hi,
Sorry that we did not realize that you were using SlideMenu, not Menu. Slide menu does not raises ItemClick event for top level items that have no sub items.
You can set the menu item's OnClickScript or handle the menu's ClientSideOnItemClick to call some JavaScript code and then trigger a post back in that JavaScript code. The following code would trigger ItemClick event for you:
Code: JavaScript
__doPostBack("SlideMenu1", "_i0");
The second parameter is the path of the item that you want to "click". By default, "_i0" stands for the first item, "_i1" is the second item, and so on. If you have set the item's ItemID property, then the path would be different. In that case you want to get the value of SlideMenu1.Items[x].Path (using the debugger, for example) first and then use that value.
Since the slide menu is not aware that ItemClick event is happening, you need to manually expand the "clicked" item on your server side code. It will be something like this:
Code: C#
private void SlideMenu1_ItemClick(
object sender, EO.Web.NavigationItemEventArgs e)
{
e.MenuItem.Expanded = true;
}
Hope this helps. Please let us know if you have any more questions.
Thanks