Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to implement an external filter for the ASPxGridView (ASPxGridView binds via postback)

$
0
0

UPDATED:

Starting with version 14.2, GridView provides the built-in Search / Find Panel functionality with the capability to locate it outside grid boundaries. This allows accomplishing a similar task with less effort and does not require so much extra code. See the ASP.NET Data Grid: Enhancements post to learn more about this new functionality.

The example demonstrates how to implement an external filter for the ASPxGridView control. To accomplish this, handle the ASPxGridView.DataBinding event and specify a value of the ASPxGridView.FilterExpression property by using the BinaryOperator / GroupOperator types based on external editors values.

See also: How to implement an external filter for the ASPxGridView (ASPxGridView binds via its callback)

Question Comments

Added By: José Luis Terán at: 4/9/2013 2:12:48 PM    

I try this sample and fail at the C# code DataBinding procedure, Datasource assignment of a SQLdataSource a I don't use asscess. The error read Data properties on data control 'ASPxGridView1' such as DataSource cannot be changed during the databinding phase of the control.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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