简体   繁体   English

C#Telerik RadGridview CellBeginEdit

[英]C# Telerik RadGridview CellBeginEdit

So this is my code 这是我的代码

private void viewGroundMaintenance_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
{
MessageBox.Show("Message");
}

when I'm clicking the cell the message box appears two times. 当我单击单元格时,消息框将出现两次。 Why is the message box showing two times. 为什么消息框显示两次。 I want it to make it appear only one time per click. 我希望它使它每次单击仅出现一次。

I have just tested this with Q2 2015 SP1 and the event is triggered just once. 我刚刚在2015年第二季度SP1上对此进行了测试,并且该事件仅触发一次。 Check if you have subscribed to the event more than once. 检查您是否已多次订阅该活动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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