I have a report that uses ObjectDataSources, and is displayed in an ASP.Net application.
The report shows a list of objects, and there is a sub report for each object.
The datasource method for the sub report retrieves 2 lists (List A and List B) from the database, and converts the 2 lists into 1 list (which is returned as the datasource of the sub report) List A is specific to each sub report, but List B will be the same for every sub report.
For better performance, is there a way to only retrieve List B once, and somehow pass it the sub report's datasource method, so it doesn't have to retrieve it for every sub report?
My first thought is to store List B in a static variable - but since the report is in an ASP.Net application, the variable would be shared between all sessions correct? (List B will be different for different clients)
Is there any solution for this senario? Let me know if you need me to explain it better.
Thanks,
Justin
Hi, I have the following fields (htmlTextBox) in my report, and when "Data x" fields have long text then fields grow, all good, except Label A would not grow. Is it possible to define somewhere so that Label's height is always equal to data field's height (without using table)
Report e.g.
Label A | Data A
Label B | Data B
Label C | Data C
Thanks
can you please provide the solution for this ASAP.
<telerik:RadGrid GridLines="None" HorizontalAlign="Left" BackColor="#EFF7FF" ID="gvDrilDown" CellPadding="0" CellSpacing="0" EnableViewState="true" AllowMultiRowSelection="false" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="true" AllowFilteringByColumn="true" PageSize="50" AllowAutomaticDeletes="false" PagerStyle-AlwaysVisible="true" PagerStyle-Mode="NextPrevAndNumeric" OnNeedDataSource="gvDrilDown_NeedDatasource" OnColumnCreated="gvDrilDown_ColumnCreated" Skin="Office2007" OnPreRender="gvDrilDown_PreRender" OnItemDataBound="gvDrilDown_ItemDataBound" HeaderStyle-HorizontalAlign="Center" ItemStyle-CssClass="borderRight" HeaderStyle-Font-Underline="true" OnItemCreated="gvDrilDown_OnItemCreated" Height="100%"> <HeaderStyle HorizontalAlign="Center" Wrap="false" CssClass="clsTableHeading1" Font-Underline="true" /> <ItemStyle /> <MasterTableView TableLayout="Auto" Name="DrilDownRpt" AllowMultiColumnSorting="false"> <NoRecordsTemplate> <span class="clsTableCellLeft1" style="padding-left: 250px;"><b>Sorry, there is no matching data available for display.</b></span> </NoRecordsTemplate> </MasterTableView> <ClientSettings EnableRowHoverStyle="false"> <Scrolling AllowScroll="true" UseStaticHeaders="true" /> <Resizing AllowRowResize="false" AllowColumnResize="false" /> </ClientSettings> <ItemStyle Font-Size="8pt" /> </telerik:RadGrid>Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at Telerik.Reporting.Service.SilverlightClient.RenderAndCacheEventArgs.get_RenderingResult()
at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnRenderAndCacheCompleted(Object sender, RenderAndCacheEventArgs e)
------------- InnerException: -------------
System.ServiceModel.ServiceActivationException : The requested service, 'http://www.govansoft.com/CRE.SL/ReportService.svc' could not be activated. See the server's diagnostic trace logs for more information.
at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
at proxy_2.EndRenderAndCache(IAsyncResult )
at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndRenderAndCache(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)