Rank: Member Groups: Member
Joined: 11/1/2010 Posts: 18
|
Hi,
I want to popup dialog on menuitem click. could you please suggest what property should be used.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
|
Rank: Member Groups: Member
Joined: 11/1/2010 Posts: 18
|
Thanks for the response. I tried server side initialstate property, it worked fine for topgroup menuitem click. My actual functionality is popup dialog on submenu item click. so i tried like this... but it is not displaying dialog. could you please suggest where am going wrong..
protected void GridMenu_ItemClick(object sender, NavigationItemEventArgs e) { if (GridMenu.Items[2].SubMenu.Items[1].Selected == true) { this.SaveDialog.InitialState = EO.Web.DialogState.Visible; } }
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
You don't need to check the item's Selected property. "Selected" and "Clicked" are two different things. e.MenuItem should tell you which item is clicked.
Thanks!
|