Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling ctrl+n in a web application
Message
From
24/11/2004 14:11:08
 
 
To
20/11/2004 04:35:37
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00963177
Message ID:
00964444
Views:
10
>i can disable ctrl+n key combination on a single web page. but is there any way in which i can apply it to the whole web application by writing generic code?

Pranav,

You could subclass your webform and in your subclass, add the JavaScript to the page to intercept the keypress event and ignore CTRL+N in your subclass constructor, and then just use your new subclass for all your webpages.
David S. Alexander
Kettley Publishing
20271 SW Birch Street, 2nd Floor
Newport Beach, CA 92660-1752
Previous
Reply
Map
View

Click here to load this message in the networking platform