This is a migrated thread and some comments may be shown as answers.

Using RadGrid Column Filters with DynamicData

3 Answers 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 20 Dec 2010, 08:34 AM
Hi,

I am using RadGrid for dynamic data. When i Bind the data using DynamicLinqDataSource and load it is all waorking with edit and delete all the functions .

But i wants to use the column filtering to the RadGrid , When i enter something in the filterBox and try filtering it It is giving me an error like

LinqDataSource 'GridDataSource' does not support the Where property when AutoGenerateWhereClause is true

I don't kow how to fix this problem, I tried adding AutoGenerateWhereClause="false" to the LinqDataSource But still i am getting that error.

Is it like so , i can't use column filtering for the grid when i use dynamic data structure??

Please Help me..

Thanks a lot .

--


3 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 23 Dec 2010, 09:12 AM
Hi Raj,

Could you please try using the standard asp: LinqDataSource or try replacing the DynamicRadGrid with asp:GridView and let me know if the issues still exists. Also could you please confirm that you use the latest version of  DynamicRadGrid implementation. You can check this blog post and download the provided archive, as it contains the latest version of DynamicData integration of RadControls for ASP.NET AJAX, including a ReadMe file with guidelines provided.

Kind regards,
Radoslav
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Raj
Top achievements
Rank 1
answered on 23 Dec 2010, 12:57 PM
HI ...

Thank you for your time and the responce...

I have sorted my problem by adding the the following code on the After getting the data into the  datasource

GridDataSource.AutoGenerateWhereClause = false;

That fixed my problem.

Thank you ..
0
Accepted
Radoslav
Telerik team
answered on 23 Dec 2010, 01:17 PM
Hi Raj,

I am glad that you achieved the desired functionality. In case you experience any further problems, do not hesitate to contact us again.

Regards,
Radoslav
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Raj
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Raj
Top achievements
Rank 1
Share this question
or