RadContextMenu Check if shown

3 posts, 0 answers
  1. Business Systems
    Business Systems avatar
    2 posts
    Member since:
    Jun 2012

    Posted 02 Oct 2012 Link to this post

    Hi,

    All i am trying to do is check if the context menu is open.

    the only property i can find for this is
    "._shown"
    is this correct or is there another way of doing this?

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

    Posted 03 Oct 2012 Link to this post

    Hi John,

    You can use the _shown property to check whether the RadContextMenu is shown or not as follows.

    JS:
    <script type="text/javascript">
    function check() {
            var Menu = $find("<%=RadContextMenu1.ClientID %>");
            if(Menu._shown==true)
             {
                //menu is shown
             }
        }
    </script>

    Hope this helps.

    Regards,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Business Systems
    Business Systems avatar
    2 posts
    Member since:
    Jun 2012

    Posted 03 Oct 2012 Link to this post

    Hi Princy,

    this is the way i am doing it now so that is good.

    Thanks for the clarification.
Back to Top