When developing an ASP.NET system, you often need your own browser menu, toolbar.
In the nearest project, there is a chance to be responsible for this part.
The menu uses aspnetMenu, it seems that it is not very stable, and the refresh of the page is also very serious.
IEWebControl provided by Microsoft used by the toolbar, the toolbar effect is good, but sometimes it will lose the event, (depressed, it seems to be lost in the .NET framework).
Function disableKey ()
{
//8
Retractable
// 78 Ctrl N
// 37 Alt arrow keys ←
// 39 Alt arrow keys →
// 116 f5 Refresh button
// 82 Ctrl R
// 121 Shift F10
// 115 Shield Alt F4
// Shield SHIFT Rasplation Left button newly opened a web page
IF (Window.Event.Keycode == 8
|| Event.Keycode == 78
|| Event.Keycode == 37
|| Event.Keycode == 39
|| Event.Keycode == 116
|| Event.Keycode == 82
|| Event.Keycode == 121
|| Event.Keycode == 115
|| (Window.Event.srcelement.tagname == "a" && window.event.shiftkey))
{
Alert ('Please operate through the code code!');
Window.Event.ReturnValue = false;
}
}
script>
HEAD>
........................
The code on the upper side has basically been implemented, the key value of the masked.
It seems that you have completed it, but whether each page needs to copy these code? Still consideration!
Please expert guidance should be said to be a problem with how the architecture system interface :)