How to open window.showModalDialog and hide context menu?

3 posts, 0 answers
  1. Runat="Server"
    Runat="Server" avatar
    14 posts
    Member since:
    Feb 2010

    Posted 13 Dec 2011 Link to this post

    Hi,

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

    Thanks!
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 Dec 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 13 Dec 2011 Link to this post

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