Telerik Forums
Reporting Forum
1 answer
112 views
I am curious to know how to programmatically set the the size of a table column. 

What I want to do is if a parameter is true then I want set that coumn size to zero so that it doesn't show on the report.  I've done this manually in the report with the properties but I am having problems figuring how how to do it in code.

Steve
Telerik team
 answered on 08 Jun 2010
4 answers
285 views
I'm new to this great product and i am wondering if it is posible to fill a report and print it from codebehind.

We use webforms. I am thinking to create a order, then add the end of the order on "Make Order". The user has selected a outputtype. This can be email, print, ... . When he selects print i would like to fill in the report template that we can make with this report tool and send to a printer. Basicly send the pdf that the telerik reporting viewer can make. But i don't need the report viewer on this webform. I just wanne use its functionality to fill in the template and print a pdf file.

Thanks :)
Steve
Telerik team
 answered on 08 Jun 2010
3 answers
513 views
Hi,
im new in reporting, and just wanted to add report to mine project, but when i create a reporte file ive got an error:
Could not find type "Telerik.Reporting.Report". Please make sure that the assembly that contains this type is referenced......
Peter
Telerik team
 answered on 07 Jun 2010
1 answer
318 views
With the version 2010.1.317, I was able to change font style like this :
    

txtTitle.Style.Color = System.Drawing.Color.FromArgb(154, 51, 102)

txtTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(18)

txtTitle.Style.Font.Bold = True

 


Now, with the version 2010.1.423, all my style still like in the design mode and nothing change... What append?

thanks
Steve
Telerik team
 answered on 07 Jun 2010
3 answers
203 views
How can I use a dataset for the reports. Since until now the wizard created dataset that is what I'm using in my project, and I would not like to start using anything else. The wizard doesn't give me an option to create a dataset as of this release. If I select object datasource and then select a table adapter I created before hand the report wizard doesn't recognize the fields from the dataset.
Steve
Telerik team
 answered on 07 Jun 2010
5 answers
242 views
Currently the "Generating Report" text and image is positioned in the middle of the report.  Is there a way to have it appear at the top of the report?  If the report has a large height, the user needs to scroll down to see the "generating report".

Thanks for your help.
Steve
Telerik team
 answered on 07 Jun 2010
1 answer
153 views
Can you export an existing report to PDF format in a medium trust environment?

Will the following code work on Medium Trust?

void ExportToPDF(Telerik.Reporting.Report reportToExport) 
    { 
        ReportProcessor reportProcessor = new ReportProcessor(); 
        RenderingResult result = reportProcessor.RenderReport("PDF", reportToExport, null); 
 
        string fileName = result.DocumentName + ".pdf"
 
        Response.Clear(); 
        Response.ContentType = result.MimeType; 
        Response.Cache.SetCacheability(HttpCacheability.Private); 
        Response.Expires = -1; 
        Response.Buffer = true
 
        Response.AddHeader("Content-Disposition"
                           string.Format("{0};FileName=\"{1}\""
                                         "attachment"
                                         fileName)); 
 
        Response.BinaryWrite(result.DocumentBytes); 
        Response.End(); 
    }    
Peter
Telerik team
 answered on 07 Jun 2010
1 answer
236 views
I'm using the Model-View-ViewModel pattern in a WPF project and I have the new WPF ReportViewer control in a UserControl. I want to databind the Report property to a property of the underlying VIewModel:

 

 

 

<telerik:ReportViewer Report="{Binding Report}"

 

 

 

Grid.Column="1"/>

 


However, the report does not display - it just says "No Report" in the ReportViewer. I fired up Snoop and noticed that the DataContext does not appear to inherit from the UserControl. It's set to Telerik.ReportViewer.ReportViewerModel. Therefore, my binding is presumably looking for a Report property on this object, not the DataContext of the UserControl that hosts the ReportViewer. Is this possible? When the Report property gets set in my VM I'm raising a property changed event to update the UI.

Thanks,
Dave
Steve
Telerik team
 answered on 04 Jun 2010
1 answer
100 views
Hi, I have two questions with a chart that I'm designing, as you can see in the attached picture, I want to format the Y Axis Items I tried currency Format But it adds 2 decimal positions and I just want the integer part, and my second questions is about the X axis item these values are a little bit inside the chart and I want them outside just like when you are en desing time. Thank you
Steve
Telerik team
 answered on 04 Jun 2010
1 answer
1.3K+ views
How can I Add a new section in a report? I want to do this so that I can put a page break by setting the pagebreak property on the section to true, is there another way to put page break?
Steve
Telerik team
 answered on 04 Jun 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?