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

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

1 Answer 122 Views
Menu
This is a migrated thread and some comments may be shown as answers.
John Hadjioannou
Top achievements
Rank 1
John Hadjioannou asked on 06 Jul 2010, 10:29 PM
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

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 Jul 2010, 02:31 PM
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.
Tags
Menu
Asked by
John Hadjioannou
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or