Hi Wayne Bradney,
The behavior you are describing is quite normal. When you filter RadGridView, you are filtering on the client. In other words, you are filtering the current view (current page) and not the entire data set on the server. That is why the pages coming from the server remain constant. You are simply hiding some of the client records on the current page. It seems that you want to filter on the server.
If you want to filter on the server you have two options.
Translate RadGridView's FilterDescriptors to DomainDataSource filters in the filtering event handler. This technique is demonstrated in this online example
The better approach would be to replace the default filtering control with a custom one that filters solely on the server. No client-side filtering whatsoever.
This approach can be seen in this online example
. My blog post
explains how to develop this pure server-side filtering control. This is a must read if want to understand how things work. Once you start filtering the DomainDataSource (server) then your page count will start changing like you want.
Also, I think that my extensive blog about paging
might be interesting for you.
Let us know if there are problems.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.