Telerik Forums
Reporting Forum
2 answers
60 views
Just working out the issues since taking the 2010 Q1 release.

One item that preventing us from compiling our project after the 2010 Q1 update was the removal of the default constructor of the Telerik Style class?

So we had

Style ourStyle = new Style();

but that failed and we had to use
Style ourStyle = null;

Not a big deal, but why?  

I do not see anything in the release notes referring to the breaking change, and removing the existing constructor resolved what?

I want to make sure we are not missing something larger and bring attention to a breaking change.

Thanks
Tim
Svetoslav
Telerik team
 answered on 19 Apr 2010
1 answer
359 views
Does Telerik Reporting allow the ability to export to Excel and allowing the cell contents to be a formula?

Say I have a report footer that sums all of the detail... can I insert the footer fields as Excel functions and not just data?

Peter
Telerik team
 answered on 19 Apr 2010
0 answers
42 views
I am trying to add a third report to my web site. I have added the project to my solution, and then added the reference to the project. When I click on the reportviewer properties, report, I see the first two projects under the report types, but not the third. I am not able to select the report.

I have tried copying the DLL directly into the project and referencing that, but I can not get the report to show. Can someone please help me. I added the first two this exact way, but this one will not work.
Philip
Top achievements
Rank 1
 asked on 19 Apr 2010
4 answers
742 views
Hello,

I am currently working on some reports that are dynamic and change based on which company is viewing the reports.  The logo changes to the company's logo, and each company has a main color and alt color that is customizable from the database.  I'm creating these features from scratch, so I just need to know how to do it correctly.

So far, I've been able to bind the logo (picturebox) to data that is a URL of type nvarchar(255) in the database.  I can then change companies and the logo is definately changing to the company it is set to in the database.

The problem is I have two columns in the company table that define the two custom colors.  One is ReportColorMain and the other is ReportColorAlt.  Right now I have them set to data type nvarchar(25) and just put some RGB color values in them (like "0, 97, 178").  I have also tried to use color names like Crimson or DarkRed.  I bind these to either the backcolor or color attribute of the particular object in the report I want to use this color with.  Unfortunately, it is not working like the logo did.  I'm getting a report error:

An error has occured while processing TextBox '':  
Bindings error - An error occured while invocing the setter on property 'Style.Color' with value 'DarkRed' 

Do I have to use a certain datatype in my SQL Server 2005 database instead of nvarchar?  Should I use some other method of collecting this color from the database?  Help would be greatly appreciated!
Peter
Telerik team
 answered on 19 Apr 2010
1 answer
79 views
Hi..
I'm using the silverlight viewer in a childwindow... when I set the theme I get an XAMLPARSE EXCEPTION error.

Any ideas?   thanks

 

 


 

 

 

 

<telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1"

 

 

Width="800"
telerikControls:StyleManager.Theme="Summer"

 

 

 

ReportServiceUri="../ReportService.svc"

 

 

Report="{Binding SelectedItem.FullName, ElementName=AvailableReportsComboBox}"></telerik:ReportViewer>

 

Steve
Telerik team
 answered on 19 Apr 2010
2 answers
131 views
Below is the XAML I have for the viewer

<controls:ChildWindow x:Class="AssetManagement.ModuleImport.Views.ImportStatusViewer" 
           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="600" Height="700"   
           Title="Import Status Viewer">  
    <Grid x:Name="LayoutRoot" Margin="2">  
        <telerik:ReportViewer x:Name="ReportViewer1"   
                              Width="600" ReportServiceUri = "../ReportService.svc" 
                              Report = "DuffPhelps.Reports.Import.ImportStatusForBatch, DuffPhelps.Reports.Import, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">  
        </telerik:ReportViewer> 
    </Grid> 
</controls:ChildWindow> 


When I try to 'show' the viewer, I get the following:
An unhandled exception ('Unhandled Error in Silverlight Application
 Code: 4004
Category: ManagedRuntimeError
Message: System.Windows.Markup.XamlParseException:
System.Windows.Markup.XamlParseException:

Possible Debuggers.....

If I put this in a 'UserControl', I don't get the error -- but, I want to use the child window for obvious reasons.
I'm using Silverlight 3, Q3 Reporting, and Q1 2010 SL 3 libraries.  I've even removed the url and report and it still give the same error...

Thanks! 

-Don
Jon
Top achievements
Rank 1
 answered on 17 Apr 2010
1 answer
163 views
Hi,

I am new to Reporting and I am trying to create a simple report.

Now I found in my design mode. I already made Header section and Detail section be most closer. But in preview mode, there still has gap between header and detail, and between detail items . Please take a look at picture.

telerik_reporting_1.png  is in design mode.

telerik_reporting_2.png  is in preview mode. You could see the gap bwtween header and detail and between detail lines.

telerik_reporting_3.png  is in what I want.
Actually this is made via dragging a Table to Group header Section directly, although I got the style I want. Howerver I really need is get this style but cross Group Header section and Detail Section.

Thanks in advance,
Bill


Steve
Telerik team
 answered on 16 Apr 2010
4 answers
144 views
I have recently upgraded to Q2_2009 SP1 from Q2_2009.

I have an HtmlTextBox which up until the upgrade worked just fine.  Now the <br> tags are not working, but only when the report is viewed inside of the report viewer.  If I use the viewer and export to a file like a PDF the formatting of the <br> is there and the information is displayed correctly.
JDP
Top achievements
Rank 1
 answered on 16 Apr 2010
0 answers
60 views
Is it possible to create a report without using a class library?
Also, how do we create a report that does not reside at the root level of a Web Site?
tam nguyen
Top achievements
Rank 1
 asked on 16 Apr 2010
0 answers
78 views
I have the below code to export a report into a memory stream:

        Dim reportDocument As New ReportClass.myReport

        reportDocument.ReportParameters(0).Value = myNum

        Dim reportProcessor As New ReportProcessor()
        Dim result As RenderingResult = reportProcessor.RenderReport("PDF", reportDocument, Nothing)

        Dim ms As New MemoryStream(result.DocumentBytes)
        Dim myAttachment As New Attachment(ms, "PO_" + myPONum + ".pdf")

Visual Studio generates an error message on the line that reads: "Dim result as RenderingResult = reportProcessor...."

The error message reads "There is no source code available at the current location"

What have I done wrong?

Thanks!

Brad Williams
Top achievements
Rank 1
 asked on 16 Apr 2010
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?