Telerik Forums
Reporting Forum
2 answers
69 views
Hi,

My client has to set his label sizes at runtime. I've made all the code to make this works, but I was wondering if I could get the same list of layouts as the reporting wizard to present it to my client and then initialize all values I need to create the report.
It would be a great functionality to avoid the user to write all values if he uses a standard labels layout and would make him free to modify or write all values if he uses a non standard one.
Is there any way to get the two lists presented in the wizard (constructor like AVERY and models like L7160) and then get their layout values ?

Thanks

Regards
Steeve
LE DREAU Steeve
Top achievements
Rank 1
 answered on 17 Mar 2010
1 answer
133 views
HI,

Im new to the Report Viewer control but very interested in implementing into our Silverlight Application. I have followed the Video tutorial and looked through the example project on how to create and view a simple report, however im getting the following error:

'Could not load type 'TenantsDetails' from Assembly 'Telerik.Reporting.Service' version=4.0.10.310, Culture = Neutral, PublicKeyToken=a9d798dfcc261be'

I have scoured your forums but there is no clear solution. I have made sure im using all the correct refereneces, have the latest versions of Reporting and RadControls and i cannot for the life of me figure out whats going wrong.

Here is my code to my report viewer

<controls:ChildWindow x:Class="ColonySL.ReportViewer" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
           xmlns:telerik="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"               
           xmlns:telerikNav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
           xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
           xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls" 
           xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"     
           Width="1024" Height="700" 
           Title="ReportViewer">  
    <Canvas Name="Main">  
        <telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1"   
                                  Width="1008" 
                                  Height="660" 
                                  ReportServiceUri="../ReportService.svc" 
                                  Report="TenantsDetails"/>  
 
    </Canvas> 
</controls:ChildWindow> 

and attached is a snap shot of how my project looks.

I would be grateful if you could get back to me asap as we are very interested in getting this working with our project and would like to purchase if we can get this working.

Thanks,

Steve
Telerik team
 answered on 17 Mar 2010
0 answers
150 views
dear all

I made showexportgroup to true but still it is disable..i want to export report in different file format like pdf,excel etc.....
waiting for answere..........
Azeheruddin khan
Top achievements
Rank 1
 asked on 17 Mar 2010
1 answer
50 views
Hello,

I have a report that works find in PDF/report viewer, but when I export to RTF the detail section is all black background, along with the text being black..  I have looked at everything and there is nothing special I'm doing with the section or the textboxes on it...  Using reporting Q32009

Any idea what I can do to fix this?

Thanks

Matt

Steve
Telerik team
 answered on 17 Mar 2010
1 answer
139 views
Hi Everyone,

I have dozens of reports to create in my application.  Of course they all show different data, but they ALL have some common elements, such as company name and logo, page #, and printed date/time, and those common elements also need to be positioned the same. 

So, is it possible to create a base class with Telerk reporting, that would contain these common elements?  And would it be possible to somehow inform the Telerik Report Wizard to use that "base report class" when it's fired up for a new report?

Thank you much for any and all advice and suggestions!

Dan
Steve
Telerik team
 answered on 17 Mar 2010
1 answer
108 views
I want to build a report in which, based on some conditions, I don't want a column to be visible. I've configured conditional formatting on the report items that are part of that column, and it works. However, I want to shorten the width of the GroupSection where the header of the column is placed, in case it is not visible. Then I implemented the ItemDataBinding event tied to the GroupSection, but I figured out that the Width property doesn't exist to be set programatically for a GroupSection! Am I missing something? It's funny I can set the width from the designer in VS for a GroupHeader, but I can't do it programatically.
Peter
Telerik team
 answered on 17 Mar 2010
1 answer
102 views
I cannot seem to get a Date filter to work that uses conversion routines.  The schema which I'm reporting against stores all dates as OLE automation dates (double precision floating point).  I have a static utility function, DateTime MyLib.Utilities.FromOADate(Nullable<Decimal> dt) which wraps the System.DateTime.FromOADate() routine and exposes it to the report.   This way, in the report I can use an expression, e.g.={MyLib.Utilities.FromOADate(Fields.[StartDate])}.  This seems to work correctly for report output.

When I try to setup a filter for start date using a similar method, I get an error 'Cannot apply >= to types System.DateTime and string'.  When I use the expression editor, the expression created is:
=MyLib.Utilities.FromOADate(Fields.[StartDate])   (without the {}'s, adding them seems to be a syntax error )

My filter definition looks like:

Expression                                                                            Operator                      Value
=MyLib.Utilities.FromOADate(Fields.[StartDate])                       >=                            =Parameters.Parameter1   (DateTime)
=MyLib.Utilities.FromOADate(Fields.[StartDate])                       <=                            =Parameters.Parameter2   (DateTime)



  I've barely started to look into Telerik Reporting so I may be missing something obvious.  Any help would be appreciated.

Thanks,
Josh
Josh Turpen
Top achievements
Rank 1
 answered on 16 Mar 2010
2 answers
132 views
I'm trying to use a crosstab in the detail section of my report. I am binding the data at runtime using NeedDataSource (for the crosstab). I have defined a row group and a column group for my data. I have also defined the same fileds as value expressions in the textboxes for the associated row and column. When I preview the report, I get an error as shown in the attached. Is there a step I am missing that would case this?

TIA
Dave Hayward
Top achievements
Rank 1
 answered on 16 Mar 2010
0 answers
123 views
I'm creating an invoice report.  I have a text box that I want to display the address in.  I have the normal fields in my database for address:

Address1
Address2 (optional)
City
State
Zip

I want the the formated text to look like this

{Address 1}
{Address 2} if there is data in the field else move 3rd line to this line
City, State Zip.

How can I format the text box to display my address in this fashion?

Thanks!
Brad Williams
Top achievements
Rank 1
 asked on 16 Mar 2010
1 answer
100 views
I try to export a report in pdf like this (this function ran number one with the 2009 Q3 version): Dim result As RenderingResult = reportProcessor.RenderReport("PDF", reportToExport, Nothing)

The error is "The string initialisation is not conform as expexted starting at index 0"

thanks to help,

Benoit
Benoit Massy
Top achievements
Rank 1
 answered on 16 Mar 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?