Welcome Guest Search | Active Topics | Sign In | Register

ConfirmButtonExtender and EO.Web.Menu Options
RGWD
Posted: Friday, November 16, 2007 10:22:21 PM
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?
eo_support
Posted: Saturday, November 17, 2007 5:07:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
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_event

Inside your handler, you can do:

Code: JavaScript
if (!window.confirm("Are you sure?"))
    eo_CancelEvent();


Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.