//在服务器控件的属性中,需要用<%#...>来绑定其他控件的ID, 并且要在页面初始方法中,执行Page.DataBind();

<asp:ImageButton ID="imgBtnLogin" ImageUrl="~/App_Themes/DefaultTheme/Images/login_10.png" runat="server" BorderStyle="None" OnClientClick='<%#"pwdMd5("+this.txtUserPwd.ClientID+")"%>' Style="z-index: 1; width: 80px; height: 34px; cursor: pointer;"  OnClick="imgBtnLogin_Click" />
View Code

相关文章:

  • 2022-12-23
  • 2021-08-20
  • 2021-07-13
  • 2022-02-18
  • 2021-07-22
  • 2022-01-17
  • 2022-12-23
  • 2021-07-23
猜你喜欢
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
  • 2021-08-03
相关资源
相似解决方案