I am using out proc session. According to your design considerations for out proc session I am using NeedDataSource to bind all reports. In some reports I have used table and graph itam. But for these reports when I bind data to the items, blank graph or table is displayed. How to resolve the problem. Please reply soon.
5 Answers, 1 is accepted
0
Rajashree
Top achievements
Rank 1
answered on 31 Jan 2014, 04:20 AM
I have got the answer. I used the following code:
var processingGraph = (Telerik.Reporting.Processing.DataItem)sender;
var Graph = (Telerik.Reporting.Graph)processingGraph.ItemDefinition;
Graph.DataSource = GraphsDS;
var processingGraph = (Telerik.Reporting.Processing.DataItem)sender;
var Graph = (Telerik.Reporting.Graph)processingGraph.ItemDefinition;
Graph.DataSource = GraphsDS;
0
Accepted
Hello,
Using the NeedDataSource event to supply data is not a recommended approach when you are using out-proc session state mode. For more details, please take a look at our Design Considerations for Out-proc Session State help article.
Note there are other means to supply data e.g. build a data access layer to retrieve data in custom data model, wrap it with a data source component and control the data retrieval via report parameters mapped to the retrieval method parameters. Then you can make use of nested collections and the data hierarchy without additional code or data sources.
I hope this information helps you.
Regards,
Stef
Telerik
Using the NeedDataSource event to supply data is not a recommended approach when you are using out-proc session state mode. For more details, please take a look at our Design Considerations for Out-proc Session State help article.
Note there are other means to supply data e.g. build a data access layer to retrieve data in custom data model, wrap it with a data source component and control the data retrieval via report parameters mapped to the retrieval method parameters. Then you can make use of nested collections and the data hierarchy without additional code or data sources.
I hope this information helps you.
Regards,
Stef
Telerik
New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.
0
Rajashree
Top achievements
Rank 1
answered on 05 Feb 2014, 05:12 AM
Thanks Stef.
0
Rajashree
Top achievements
Rank 1
answered on 11 Feb 2014, 05:56 AM
Hi stef,
When I used out proc session, I didin't get any data on the graph item. It was displayed blank. So I used NeedDataSource event. But now I found out that, my graph is displaying data, but it is not getting changed when filter values are changed. What should I do??? Please reply asap..
When I used out proc session, I didin't get any data on the graph item. It was displayed blank. So I used NeedDataSource event. But now I found out that, my graph is displaying data, but it is not getting changed when filter values are changed. What should I do??? Please reply asap..
0
Hi Rajashree,
Please double check our Design Considerations for Out-proc Session State help article, including Understanding Events and Using Report Events articles - note how report parameters running values are used in events.
Regards,
Stef
Telerik
Please double check our Design Considerations for Out-proc Session State help article, including Understanding Events and Using Report Events articles - note how report parameters running values are used in events.
Regards,
Stef
Telerik
New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.