Rank: Newbie Groups: Member
Joined: 10/16/2007 Posts: 5
|
Is it possible to use the AjaxControlToolkit.ConfirmButtonExtender with EO.Web.Menu when a selection is made from the menu? i.e. have the user confirm that that is the correct selection?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, I don't think so since it's not a simple button. But you don't need to use ConfirmButtonExtender with Menu. The Menu already have such feature. Just handle ClientSideOnItemClick: http://www.essentialobjects.com/Demo/Default.aspx?path=Menu\menu_programming\_i2\menu_client_eventInside your handler, you can do:
Code: JavaScript
if (!window.confirm("Are you sure?"))
eo_CancelEvent();
Thanks
|