We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataboundGrid Filterbar

Thread ID:





81075 May 11,2009 06:26 PM UTC May 12,2009 02:36 PM UTC WinForms 2
Tags: GridControl
Alomgir Miah
Asked On May 11, 2009 06:26 PM UTC


I was trying to use the GridDataboundGrid with NHibernate. As all the object collections in NHibernate are List, the GridDataBoundGrid cannot display the Filterbar with the following code

this._gridFilterBar = new GridFilterBar();

However the same piece of code can display the filterbar when DataSet is used instead. I am assuming it has something to do with TypeDescriptors. Any help is appreciated.


Jisha Joy [Syncfusion]
Replied On May 12, 2009 06:18 AM UTC

Hi Alomgir,

Thanks for your interest in Syncfusion products.

In GridDataBoundGrid, GridFilterBar will support only for DataTable or DataSet type of datasources. One way to achieve this is, to create a custom FilterBar by deriving from GridFilterBar class.

Here is a sample that shows the custom filterbar supporting IList type of datasource as ArrayList is an implementation of IList.


In this sample, collection is implemented using ArrayList.


Alomgir Miah
Replied On May 12, 2009 02:36 PM UTC


You saved my day.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon