在GridView控件中,一个是CommandField按钮,做选择用的,还有一个是ButtonField按钮,触发事件的时候,CommandField的Page.IsPostBack为true,ButtonField的Page.IsPostBack却为false

解决方案:

- To solve it you can:

   - Remove update panel

   - Or change buttontype to Button or Link

   - Or only convert commandfield to Templatefield

参考:http://forums.asp.net/p/1160880/1920203.aspx#1920203

相关文章:

  • 2021-08-15
  • 2022-12-23
  • 2021-08-17
  • 2021-06-26
  • 2022-12-23
  • 2022-02-19
猜你喜欢
  • 2022-12-23
  • 2021-09-09
  • 2021-10-10
  • 2022-12-23
  • 2021-11-27
  • 2021-06-13
相关资源
相似解决方案