我一直习惯使用标准Asp.net旁边的控件AjaxControlToolkit并从未遇到过问题。最近我不得不使用Dundas Charting这些控件不是标准的.NET控件,我必须根据Dundas中显示的报告控制apage的一部分。如何更改asp UpdatePanel的标准事件处理程序签名?
不幸的是邓达斯事件签名不通过的UpdatePanel和的iget以下错误认识
说明:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
异常详细信息:
System.InvalidOperationException: The 'CommandFired' event on associated control 'chart1' for the trigger in UpdatePanel 'updatepanel1' does not match the standard event handler signature.
所以我想知道那有可能改变处理程序忽略updatepanel?如果是的话,该怎么做?
IMO,事件签名是什么样的?标准事件签名意味着'void'返回类型和两个参数 - 对象(发送者)和事件参数(派生自'EventArgs'的类型)。我觉得登打士不太可能有不同的签名 - 也许问题在别的地方。 – VinayC 2011-12-27 08:55:50