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

Programmatically change query preserving functionality

1 Answer 7 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Felice
Top achievements
Rank 1
Felice asked on 11 Sep 2014, 09:42 AM
Hi, 
I need some help.

Is there any demo/sample showing how to change the query in sqldatasource preserving all functionality in the RadGrid?

I mean, I have x tables all with the same fields (product bill of material) and by a dropdown list I need to point the datasource to change the query pointing different tables. Update/Insert/delete shall also work. I have tried the above assigning a different query to the datasource but then I loose functionality in sorting, exporting, and so on.

How can I achieve the above?

1 Answer, 1 is accepted

Sort by
0
Felice
Top achievements
Rank 1
answered on 12 Sep 2014, 05:41 AM
Please disregard the above post as I have opened a new one more clear for what I need.
Thanks
Tags
Grid
Asked by
Felice
Top achievements
Rank 1
Answers by
Felice
Top achievements
Rank 1
Share this question
or