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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Filterbar in Virtual Grids

Thread ID:

Created:

Updated:

Platform:

Replies:

59477 Apr 13,2007 03:00 PM UTC Apr 17,2007 05:30 PM UTC Windows Forms 3
loading
Tags: GridControl
Frank
Asked On April 13, 2007 03:00 PM UTC

I like to add filterbar to a virtual grid (_grdMaintainDC) but when I use wiregrid method I am getting an error saying that the gridcontrol can not be converted to databoundgrid. Here is my code to declare and wire the filterbar.

_filterBar = New GridFilterBar()
_filterBar.WireGrid(Me._grdMaintainDC)

I am fairly new to VB.Net and syncfusion. Please help.

Administrator [Syncfusion]
Replied On April 13, 2007 03:53 PM UTC

GridFilterBar is only supported for a GridDataBoundGrid. You cannot use it with a GridControl which is why you are getting the error.

Here is a forum post on trying to add a filter bar to a virtual grid.

www.syncfusion.com/Support/Forums/message.aspx?&MessageID=45162

Frank
Replied On April 16, 2007 05:59 PM UTC

Thanks Clay for pointing to the message id 45162. The attached example in that message had C# code. Is it possible to get similar code in VB.Net? Thanks for your help in advance.

Administrator [Syncfusion]
Replied On April 17, 2007 05:30 PM UTC

Here is a link. I zapped the C# with a C#-VB tool so the VB code may look a little hokey.


WindowsApplication1390.zip

CONFIRMATION

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.

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

;