문제

Hi every one ,

I have a problem with a gridview in webpart sharepoint 2013 ,I use model bind with the gridview and I have assigned a select method to the gridview when I deployed the webpart it raise the following error

A public method with the name  was either not found or there were multiple methods 
with the same name on the type x.master

thanks alot

도움이 되었습니까?

해결책

I have found the solution ,

you need to register this code within the CallingDataMethod GridView event :

 protected void GridView1_CallingDataMethods(object sender, System.Web.UI.WebControls.CallingDataMethodsEventArgs e)
        {
e.DataMethodsObject = this;
        }

and every thing will work fine

thanks

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top