E
Erkan KURTULUÞ
Hi Everbody,
i want to any class send to client side with Web Method. But there is a
method in this class. altough its all property can be pass on client side, A
method can't be pass. how can i pass a method in class?
[WebMethod]
public ogr getogr
{
return new ogr();
}
public class ogr
{
int i;
public string test
{
Return "test";
}
}
Client side
public void getogr
{
WebService.ogr _ogr = WebService.getogr();
_ogr.test(); // invisible
}
i want to any class send to client side with Web Method. But there is a
method in this class. altough its all property can be pass on client side, A
method can't be pass. how can i pass a method in class?
[WebMethod]
public ogr getogr
{
return new ogr();
}
public class ogr
{
int i;
public string test
{
Return "test";
}
}
Client side
public void getogr
{
WebService.ogr _ogr = WebService.getogr();
_ogr.test(); // invisible
}