在客户端html中编写:

function buttonClick(itemguid,paperguid,opt)
{
 if(event.flatIndex==0)
 {   
      //这里编写客户端事件
 }
 else
 {            
  __doPostBack('Toolbar1',event.flatIndex);
 }
}

在服务器端cs中编写:

   Toolbar1.Attributes.Add("onbuttonclick","javascript:buttonClick('"+txtItemGuid.Text+"','"+txtPaperGuid.Text+"','"+txtOpt.Text+"');");

相关文章:

  • 2022-01-26
  • 2022-12-23
  • 2022-02-24
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2021-05-21
猜你喜欢
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-09-24
相关资源
相似解决方案