,大家好,
我在webpartSharePoint2013中遇到了一个网格视图问题,我使用了模型绑定与网格视图,并且在部署webpart时,我给网格视图分配了一个select方法,它引发了以下错误
A public method with the name was either not found or there were multiple methods
with the same name on the type x.master谢谢
发布于 2014-06-08 09:28:03
我找到了解决办法,
您需要在CallingDataMethod GridView事件中注册此代码:
protected void GridView1_CallingDataMethods(object sender, System.Web.UI.WebControls.CallingDataMethodsEventArgs e)
{
e.DataMethodsObject = this;
}每件事都会很好
谢谢
https://stackoverflow.com/questions/22846340
复制相似问题