Telerik Forums
Reporting Forum
1 answer
115 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
183 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
204 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
196 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
79 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
116 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
0 answers
124 views
Hello,

I have a problem with my report.
I created a report with this sections (see "Structure.jpg" from attached files):

- groupHeaderSection (Student Group)
    - groupHeaderSection (Subject Group)
        - Detail
    - groupFooterSection (with property "visible = false")
- groupFooterSection (with property "visible = false")

My problem is, sometimes I havent values (becouse I get "null" from my database for all textboxes) in detail section, in this situation, I wouldn't like show this section becouse it's empty.
See preview.jpg in attached files.
Is there any property to hide the detail section when it contain empty textboxes?

Thank you,

Regards,
Jose Viana.


 

Jose Viana
Top achievements
Rank 1
 asked on 16 Apr 2010
1 answer
134 views
I created a standard tabular report and the user should be able to choose and rearrange columns with two RadComboBoxes.
I do this by changing the "Location" and "Visible" attributes of the textfields in the report. 
For some Textfields it works, but sometimes one column is displayed at a seperate page or columns overlay.
I already disabled the Dockstyle.Left setting on some TextFields which brought some improvement, but still the engine seems to randomly screw up.
Any hints?
peter meier
Top achievements
Rank 1
 answered on 16 Apr 2010
1 answer
149 views
Hello,

I'm trying to get a parameter from my Master report to my subreport without having to write any code in the code behind. I have added a parameter to the sub report inside my Master report. My Question is how do I do this? I have looked at the documentation which didn't help I have also searched the forums and couldn't find anything that helped.

i want to pass a GUID from my master report do my Subreport to give to my ObjectDataSource to use in a query.

I'm using Silverlight 4, VS 2010, .Net 4

Thanks,

Brett Rose
Steve
Telerik team
 answered on 15 Apr 2010
1 answer
114 views
Hello, I just started using Reporting to design PDFs and am greatly enjoying it's speed and ease of use.

If I have a set of data that extends beyond one page, is there a way to tell when a page break occurs and place a TextBox showing the column title on the new page? 

Thanks in advance for the response!
Peter
Telerik team
 answered on 15 Apr 2010
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?