ASP.Net: why is my button's click/command events not binding/firing in a repeater?

后端 未结 5 1763
北海茫月
北海茫月 2020-12-09 12:31

Here\'s the code from the ascx that has the repeater:


    

A sub-he

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-09 13:12

    You know what's frustrating about this?

    If you specify an OnClick in that asp:Button tag, the build will verify that the named method exists in the codebehind class, and report an error if it doesn't... even though that method will never get called.

提交回复
热议问题