Telerik Forums
Reporting Forum
4 answers
91 views

Hi,

I would like to know if Smartlabels for radchart can be cusomized and how.

In the image attcehd with the post, i would like to have backgoround of the lables as trasparent (Currently it is showing the color of the bar as the backgoround color of the labels) and the label's text in black bolor (which is white in the image). I m using smartlabels precisely to avoid overlapping of the lables on one another.

Any help/work-around would be greatly appreciated.
Thanks in advance.

Sia
Telerik team
 answered on 22 Jul 2011
1 answer
163 views

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

Peter
Telerik team
 answered on 21 Jul 2011
2 answers
948 views
Hi,

I'm running a report viewer in WPF.  My screen has a dropdown list of reports, two datepickers, and a refresh button.  The user selects a report from the dropdown, selects the date range, and hits the refresh button to generate the report.

I have found that when the refresh button is clicked, the report viewer will immediately say "The Operation was Canceled".  This message will last until the report is actually generated.

In the code behind for the refresh button, we take the selected report and give it a data source based on some internal methods to actually put the data together.  Then we set the reportviewer's report to the report that we are generating, and then fire off the RefreshReport method.


Did I miss a step here that is causing this message to show up?  I saw a reference in an old thread to the message and it said that it would be fixed in one of last year's builds.  Any help would be appreciated.

Thanks.
Jason
Top achievements
Rank 1
 answered on 21 Jul 2011
3 answers
375 views
Hi,
I am having an issue exporting to CSV.
I understand there are some restrictions when printing to CSV, but the issue I have run into seems to be more of a bug.

I have a Report where Reports Items have Sub-Reports.

When exporting to CSV the only Report Items that get exported are items that have Sub Reports.

So if a Report Item does not have data in the Sub Report, the Main Report Item will not get exported.

 I have attached a screen shot displaying the issue.

Is there any suggestions or work-arounds to get the Main Report Item to print when the Sub Report Item is null?

Thanks in advance,
RyanZ
Steve
Telerik team
 answered on 21 Jul 2011
2 answers
367 views
I have a report that is bound to a business object list.  The business object class contains a list of child objects.  Example:  The parent object is Company, and the Company class contains a list of Employees.  The report shows the details of each company, and the list of employees for each company.  This senario fits the use of a SubReport.  However, is there a way to do this without a SubReport?  And if not, is there a way to pass the child items to the subreport, instead of the ID of the company?  (since the child objects are already populated in the Company object, if I pass the ID of the company, the Employee list will have to be retrieve a second time)

Thanks,
Justin
Justin Lee
Top achievements
Rank 1
 answered on 20 Jul 2011
3 answers
118 views

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

 

Steve
Telerik team
 answered on 20 Jul 2011
1 answer
109 views
I am running the Premium collection, and have just updated RAD AJAX and Reporting components. I find that I have only four skins available to select from in the Report Viewer.

I thought I would try to type in one of the new ones (Office2010), and this triggers an error indicating lack of a DLL resource.

I could interpret this in one of two ways:

1) only the four basic skins are supported in the Report Viewer control

2) I need to update my configuration in some way that is not obvious to me, the reporting components appear to be registered and the reports themselves work fine.

Anybody have ideas on this? It makes no sense to have so many standard skins available elsewhere, yet not on the viewer control itself.
Steve
Telerik team
 answered on 20 Jul 2011
1 answer
113 views
Hi,

We are using Radgrid having date field colums with AllowFilteringByColumn="true" property.
While the page is loading we get this error 'ct100_ContentPlaceHolder1_GridName_gdtcSharedCalendar'  was not found. Could you please tell us where are we possibly going wrong.

Also because of this error, the page does not load properly and  the grid becomes distorted.
Here's our code:

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>
Manishkumar
Top achievements
Rank 1
 answered on 20 Jul 2011
3 answers
107 views
Hello Experts,

I have a problem on a telerik report..When I run the report I see one page report,but when I export it to excel or pdf ,the report is repeated several times.
What may cause to this?

You can see screenshots...


Brisa Bilgi Sistemleri
Top achievements
Rank 1
 answered on 20 Jul 2011
8 answers
83 views
I get the following error:

An error has occurred while processing Table 'tblCodeBlocks':
Method not found: 'Int32 System.String.Compare(System.String, System.String, System.Globalization.CultureInfo, System.Globalization.CompareOptions)'.

when I attempt to run my report on our Windows 2000 Production Server, it has .NET 2.0 SP 1 installed. The report consists of a single SqlDataSource (which is fine) bound to a single table within the report. The VS2010 project is set to use .NET 2.0... but from the error it appears as if the method just isn't available? Other things in the report come through out such as my static header etc., the table piece just fails to load. Any idea why this would be?

P.S. I'm using the latest release of the Telerik Reporting tools (Q1 2011)
Steve
Telerik team
 answered on 20 Jul 2011
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?