Ciao,
puoi ottenere quello che cerchi scrivendo nella textbox le seguenti due proprietà:
OnBeforePaste="return false"
OnPaste="return false"
esempio:
<input Type="textbox" Name="test" OnBeforePaste="return false" OnPaste="return false" Value="">
però ti avviso subito che questi eventi in mozilla firefox non esistono, ma funzionano perfettamente in IE.
quindi ti ho preparato una prima idea che mi è saltata in mente anche per mozilla
<script language="javascript" type="text/javascript">
function onKeyPressHandler(e)
{
if (e.ctrlKey && e.which == 118)
{
setTimeout(function()
{
document.getElementById("test").value = "";
}, 1);
}
}
</script>
<input Type="textbox" Name="test" Id="test" OnKeyPress="onKeyPressHandler(event)" Value="">
Enjoy It