volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

SearchDataSource Supports Pagination?

Hi,

Does SearchDataSource supports pagination? I am using the following code to get the paginated data from searchdatasource but it returns all the resultset and does no pagination?

PageDataCollection enumerable = searchDataSource.Select(new DataSourceSelectArguments(startRowIndex:0,maximumRows:10)) as PageDataCollection;

Any help will be highly appreciated

Thanks

#43796
Sep 23, 2010 17:17

I think that if I remember correclty when I looked at the searchDataSoruce with reflector the Select method will do nothing with the input parameter.

If you want paging databind to a pagelelist and us it's pager or for example a repeater and a .net datapager.

#43808
Sep 24, 2010 6:56
error This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.