I'm trying to call a function using the SelectMethod of an ObjectDataSource.
<asp:ObjectDataSource runat="server"
ID="odsDocuments"
TypeName="ClassA"
SelectMethod="Documents.GetDocuments" />
Where "Documents" is an instance of another class as a public property within "ClassA" and "GetDocuments" is a function within the "Documents" class.
I keep getting an error saying that the function can't be found (obviously the function exists and there's no issue with levels of access).
Any idea where I'm going wrong or is this syntax not really possible using this method?
Documents? a class within a class (ClassA) ?? - yogi