Disable Right Click on Web Page
Web Page Right Click Disable on Run Time Using in Asp.Net.
Download Coding
Download
DEMO
HTML CODING
Web Page Right Click Disable on Run Time Using in Asp.Net.
Download Coding
Download
DEMO
HTML CODING
<html xmlns="http://www.w3.org/1999/xhtml" oncontextmenu="return
Disable();">
<head runat="server">
<title></title>
<script type="text/javascript">
function Disable()
{
alert('Right Click Disabled');
return false;
}
</script>
</head>
<body >
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
Or
<html xmlns="http://www.w3.org/1999/xhtml" oncontextmenu="return false;">
<head runat="server">
<title></title>
</head>
// or
<body oncontextmenu="return false;>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
First - Create - New Web form - Set oncontentmenu body tag or html tag
0 comments:
Post a Comment