加上这句:
__doPostBack('WritConfirm','');

解决方案 »

  1.   

    写清楚需要用来触发这个事件的控件。checkbox或者是其他?可能完全不必要这么做的。
      

  2.   

    you might need to change 'WritConfirm" to its client IDfunction doSelect(){ document.getElementById('WritConfirm').click(); }
      

  3.   

    回复人: saucer(思归/MVP) ( ) 信誉:343 
         同意
      

  4.   

    思归大哥的办法很棒!解决了俺的问题,多谢!准备散分。但是还是想学学acewang(龍芯*Inside!) 的    这句:
    __doPostBack('WritConfirm','');具体怎么样用啊?
      

  5.   

    其实就是两个人的方法都一样的,就是调用服务器生成的JavaScript脚本,你建一个简单的项目,放个LinkButton控件,然后看运行,在浏览器中看源文件就明白了。
      

  6.   

    哦,明白了__doPostBack('','')就是触发回发事件,并且传递引发事件的对象和事件参数!
      

  7.   

    you shouldn't call __doPostBack directly since the function is generated by the ASP.NET engine, it could be changed in the next releaseif you want to, you should be calling Page.GetPostBackEventReference
      

  8.   

    这个问题明白了,但是又有__dosPostBack()的原理不是很明白。开个新贴http://community.csdn.net/Expert/topic/3180/3180799.xml?temp=.5874445
    希望您来解答。