it is on the client side, you need to use javascript or vbscript one way or the other

解决方案 »

  1.   

    .net是服务器技术,你还是用脚本语言吧,比如js
      

  2.   

    那这个http://www.peterblum.com/DateControls/DateTextBoxMain.aspx
    上面的日历控件怎么实现阿,它上面的右键菜单,键盘事件,还有在日历控间里再加了一个
    好像日历控件的东西,就是在日历控件的标题上面
      

  3.   

    DateTextBox Control是个好东东,
    不知上面提到的怎么实现的,关注
      

  4.   

    function document.onkeydown()  
    {

    if( window.event.keyCode==13)document.textbox1.value="aaa";}
      

  5.   

    楼上的恕小弟愚笨,我把你代码加上后没有反应啊,比如当我按下方向右键时,textbox发生变化
      

  6.   

    sorry.我这是按下回车键,我是举个例子,左是37 右是39
    function document.onkeydown()  
    {

    if( window.event.keyCode==39)document.all.TextBox1.value="aaa";}
      

  7.   

    注意是在html中加入此函数。
    <head>
    〈script language=javascipt>
    function document.onkeydown()  
    {

    if( window.event.keyCode==39)document.all.TextBox1.value="aaa";}
    </script>