日期:2014-05-17 浏览次数:20477 次
protected override void RaisePostBackEvent(IPostBackEventHandler sourceControl, string eventArgument) { Type t = sourceControl.GetType(); System.Reflection.PropertyInfo property = t.GetProperty("UniqueID"); object uniqueID = property.GetValue(sourceControl, null); //这个就是你引起回发服务器的控件ID base.RaisePostBackEvent(sourceControl, eventArgument); }