Challenging One
Dear All
my question is
i am developing an asp.net application,in that application one web form is there.
and also no.of html pages are there , those html pages are created by users and those
html pages are placed in a folder.
when i run the application the web form will load the html pages from the folder on to web form . those html
pages appeard as hyper links. when i click on hyper link child window is opening , in that chlid window
i want to stop the display of context menu because i dont give any (select all, cut,copy,paste,print) permission
to end user.
note:
we con't write any code in html pages, because the html pages are created by some one and placed in one folder.
i used javascript to open window is.window.open() and also i know to stop the context menu by using the body tag
<body oncontextmenu=return ;false> how can write this attribute oncontextmenu at run time.
Regards
suresh
|