Disabling the right-click option in the webrowser control in silverlight

Posted by balajirnaukri-12656 under Silverlight on 4/23/2012 | Points: 10 | Views : 2056 | Status : [Member] | Replies : 4
I want to disable the right-click option in the webbrowser control I dont want anything if I am right clicking on the browser.

Thanks and Regards
Balaji.R
ASP.NET Devloper
Solve-IT corp



Responses

Posted by: GSM_GSV on: 4/23/2012 [Member] Starter | Points: 25

Up
0
Down
Refer this site

http://forums.silverlight.net/t/37820.aspx/1

---------------------------------------
Live the life you've dreamed

Regards
MADHU

balajirnaukri-12656, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: balajirnaukri-12656 on: 4/23/2012 [Member] Starter | Points: 25

Up
0
Down
I tried out this madhu but Im still facing the same problem

Thanks and Regards
Balaji.R
ASP.NET Devloper
Solve-IT corp

balajirnaukri-12656, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/23/2012 [Member] Silver | Points: 25

Up
0
Down
Refer this, it may helps u..

www.megren.net/blog/lists/posts/post.aspxid=9

Regards,
Singaravel M

balajirnaukri-12656, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Superb1986 on: 7/1/2012 [Member] Starter | Points: 25

Up
0
Down
Hi you can use code like this on the top of the grid layout.
<Grid x:Name="LayoutRoot" Background="White">


<toolkit:ContextMenuService.ContextMenu>
<toolkit:ContextMenu>
<toolkit:MenuItem Header="">

</toolkit:MenuItem>
</toolkit:ContextMenu>
</toolkit:ContextMenuService.ContextMenu>
</Grid>


balajirnaukri-12656, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response