This is a migrated thread and some comments may be shown as answers.

confirmation popup on a particular menu item click

2 Answers 110 Views
Menu
This is a migrated thread and some comments may be shown as answers.
sf
Top achievements
Rank 1
sf asked on 10 Nov 2010, 11:03 AM
is it possible to have a confirmation popup on a particular menu item click?
I need to perform some server side coding when this particular menu item is clicked, and i need user to confirm this before proceeding to my logic.
thanks in advance

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 10 Nov 2010, 12:56 PM
Hello,


Attach the 'OnClientItemClicking' event to RadMenu and check for the clicked item text/value in the event. Cancel the event using args.set_cancel(true) method based on condition.


For more information: OnClientItemClicking


-Shinu.
0
sf
Top achievements
Rank 1
answered on 11 Nov 2010, 02:34 AM
thank you Shinu, I followed your advice found this article, which solved my issue:
http://www.telerik.com/support/kb/aspnet-ajax/window/using-radprompt-and-radconfirm-with-telerik-navigational-controls.aspx
Tags
Menu
Asked by
sf
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
sf
Top achievements
Rank 1
Share this question
or