Hi,
I have a telerik report with chart.
The chart data source is a default sql query (I set it by design):
select *
from customers
In my ascx page I have a filter box, for example for the customer location with the values - All, France, Italy, Spain.
If the user selected location and pressed "Generate", I want to change the query to:
select *
from customers
where location = '(The selected value)'
if the selected value is all, I want to run the report as is.
Is there a way to change a chart query in run time?
Thanks!
I have a telerik report with chart.
The chart data source is a default sql query (I set it by design):
select *
from customers
In my ascx page I have a filter box, for example for the customer location with the values - All, France, Italy, Spain.
If the user selected location and pressed "Generate", I want to change the query to:
select *
from customers
where location = '(The selected value)'
if the selected value is all, I want to run the report as is.
Is there a way to change a chart query in run time?
Thanks!