confirmation popup on a particular menu item click

3 posts, 1 answers
  1. sf
    sf avatar
    103 posts
    Member since:
    Apr 2009

    Posted 10 Nov 2010 Link to this post

    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. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Nov 2010 Link to this post

    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.
  3. sf
    sf avatar
    103 posts
    Member since:
    Apr 2009

    Posted 10 Nov 2010 Link to this post

    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
Back to Top