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

How to open window.showModalDialog and hide context menu?

2 Answers 125 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Runat="Server"
Top achievements
Rank 2
Runat="Server" asked on 13 Dec 2011, 08:27 AM
Hi,

How to open window.showModalDialog with OnClientItemClicking event and hide context menu? (Context menu always presented and this is very bad!)

Thanks!

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Dec 2011, 10:04 AM
Hello,

Try the following javascript. Make sure that you have set the Modal property of RadWindow as true.
JS:
<script type="text/javascript">
function OnClientItemClicking(sender, args)
  {
    window.radopen(null, "RadWindow1");
  }
</script>

Thanks,
Princy.
0
Kate
Telerik team
answered on 13 Dec 2011, 12:24 PM
Hello Arie,

You can also take a look at our on-line demos where you can find more examples of how to open a pop up window.

Best wishes,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Menu
Asked by
Runat="Server"
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Kate
Telerik team
Share this question
or