Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block CTRL+C,CTRL+V and Print screen options ASP.Net (Client side)

Status
Not open for further replies.

arunglobal

Programmer
Sep 8, 2003
40
IN
Hi All,

I am n need to block CTRL+C,CTRL+V and Print screen options of my ASP.NET web application in client side.

Any innovative ideas are welcome.
thannks n advance.
 
Try the javascript forum (forum216) although if you are trying to protect your content from being copied it simply can't be done and they will tell you the same thing

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Hi Guys,
I found the Solution which will Block CTRL Keys

/*Controls the CTRL keys*/
function keyWhat(e)
{
if (window.event.ctrlKey)
{
window.event.cancelBubble = true;
window.event.returnValue = false;
return false;
}
}
document.onkeydown=keyWhat;

but i need to block print screen can any one.....
 
Ask the javascript forum...

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top