简体   繁体   中英

ASP.NET: Repeater with Button inside GridView: Call OnRowCommand of the GridView

I have a asp:Repeater in one of my asp:GridView columns. In the template of the repeater I have a button. When that button is clicked, how can I get the OnRowCommand of the GridView to be called instead of the Repeater one?

Have you tried a button click handler? That would allow you to avoid the GridView and Repeater command events.

直接连接按钮事件或查看bubbleevent

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM