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

RadContextMenu Check if shown

2 Answers 103 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Business Systems
Top achievements
Rank 1
Business Systems asked on 02 Oct 2012, 03:56 PM
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 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Oct 2012, 06:38 AM
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.
0
Business Systems
Top achievements
Rank 1
answered on 03 Oct 2012, 08:16 AM
Hi Princy,

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

Thanks for the clarification.
Tags
Menu
Asked by
Business Systems
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Business Systems
Top achievements
Rank 1
Share this question
or