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

Filtering in GDBG

Thread ID:





100106 Jul 5,2011 10:38 AM UTC Jul 6,2011 12:52 PM UTC WinForms 1
Tags: GridControl
Anton Lebedev
Asked On July 5, 2011 10:38 AM UTC

I'm using Essential Studio 4.3.
Trying to filtering GDBG as shown in the help:
DataView dv = ((DataTable)this.gridDataBoundGrid1.DataSource).DefaultView;
dv.RowFilter = "FirstName LIKE 's*'";

But I'm always get InvalidCastException in a first row, with "System.Windows.Forms.BindingSource" and "System.Data.DataTable".
What I'm doing wrong?

Ragamathulla B [Syncfusion]
Replied On July 6, 2011 12:52 PM UTC

Hi Anton,

Thank you for your interest in Syncfusion products.

Regret for the inconvenience. I have created a simple sample to reproduce the issue. But I am afraid I was not able to see the issue of InvalidCastException . It is hard to trace why this issue is arising without seeing the sample. We have searched our support database for any such similar issues, and found no similar issues.

Refer the sample from below link:

Is there any possible way for you to provide us with a sample that shows this issue? or reproduce the issue in above sample. It will be easier for us to have a closer look into the problem and to resolve it.

Thanks for providing additional information any.

Ragamathullah B


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