Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How to use SPGridview in a application pages with Sorting, FIltering and paging?

$
0
0

Hello

I am testing following url, initially it is working as it is. But I noticed that FIltering, Paging and sorting none of them are working.

http://programming4.us/enterprise/15034.aspx

I also modified SPGridview object as mentioned below in aspx page and addded filterfield and other filter options mentioned below

<SharePoint:SPGridView ID="searchGridView" runat="server" AutoGenerateColumns="false"  
        AllowFiltering="true" AllowSorting="true" AllowPaging="true" PageSize="3" FilterDataFields="Title" 
        FilteredDataSourcePropertyName="FilterExpression" FilteredDataSourcePropertyFormat="{1} LIKE '{0}'">

thne it start showing filtering option with an error

SPGrid_Call VIewback handler error.

I also tested sorting nothing is working. I am also wondering why pager options is not displaying at the bottomg of the grid.

Please advise.

Regards

Avian


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>