How do I get a menu item to open a modal window?

2 posts, 0 answers
  1. John Hadjioannou
    John Hadjioannou avatar
    30 posts
    Member since:
    Dec 2005

    Posted 06 Jul 2010 Link to this post

    I have a menu bound to a database with the RadMenu TargetField bound to a database field so that some items open in _self and some in _blank.

    I need to make some of the items that open a new window open a modal window (determined by the database) can this be done?

    John
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 08 Jul 2010 Link to this post

    Hello,

    I hope you can perform this by attaching 'OnClientItemClicking' client event to RadMenu. In the event handler check for the Item text and cancel the event by using args.set_cancel(true) method. Now you can easily show the window in a moda window from client code.


    Hope this suggestion helps,
    Princy.
Back to Top