This may seem very simple question, but I did a little search on the forum, and could not find any existing sample.
I have a grid populated with data when page loads. I also have a Generate Report button on the same page. When use clicks the button, I want to get the data from the data grid itself directly (actually what I bind to the grid is a collection of domain objects) without talking to database again, and send the object collection to Telerik Reporting component to generate a new report.
The main initiative is to avoid talking to database repetitively as it is a quite expensive call which involves a number of table joins and may return hundreds of records.
Does anyone know an easy way for this?
Thanks,
Daniel
I have a grid populated with data when page loads. I also have a Generate Report button on the same page. When use clicks the button, I want to get the data from the data grid itself directly (actually what I bind to the grid is a collection of domain objects) without talking to database again, and send the object collection to Telerik Reporting component to generate a new report.
The main initiative is to avoid talking to database repetitively as it is a quite expensive call which involves a number of table joins and may return hundreds of records.
Does anyone know an easy way for this?
Thanks,
Daniel