Telerik Forums
Reporting Forum
3 answers
220 views
I need a report designer that i can embed into my web (asp.net MVC) application.  Does telerik reporting have a suitable designer.  Silverlight is fine.
Nasko
Telerik team
 answered on 01 May 2014
2 answers
161 views
I have a report (myReport) built in a library class. In my web application, I am using a report viewer (ReportViewer1) with the reportsource set to: "ReportLibrary.MyReport, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null". This report has three (3) parameters. 

I have failed in many attempts to set those parameters in the reportViewer using C#. Can anyone help?

Tom
Tom
Top achievements
Rank 1
 answered on 01 May 2014
2 answers
72 views
When I expand a group into details, is it supposed to rerun the entire data request to the datasource? Also it takes an extremely long time when expanding sections.
Nasko
Telerik team
 answered on 01 May 2014
1 answer
356 views
I am creating a report that is basically a business letter.  I load the body of the letter from a database.  It is text with embedded variables, like the client’s name and address.  I currently have this working where I replace the variables in the body with the corresponding data in a class, but I thought it would be nice to let the report generator do that for me.

So I would like to have the body use the same expressions as the reports do.  So a body might look like this: “This is the body of the letter Mr. {Fields.Lastname}.”  Of course, I don’t know what the body actually is until the user runs the report.

So I would need to access the textbox that the body would appear in, set it’s value to the body text, programmatically setup a datasource with the data to be used to evaluate the expressions, the somehow data bind it so the expressions in the body are evaluated against the new data source.

Is this possible and if so are there some examples or documentation that would help?
Nasko
Telerik team
 answered on 01 May 2014
2 answers
741 views
Hi I am using 2 tables in a single report. Under this one of the Table(Table 2 as per example I attached) is extended more than the width of the report. So while exporting as PDF this table shows its remaining data in a new page. But I have another table (Table1 as per example I attached) the width does not exceeds the single page but it creates a new page and show nothing(Blank page) due to the extended Table2 Width. 

My question is How to remove this blank pages while exporting?
Ivan Hristov
Telerik team
 answered on 01 May 2014
1 answer
89 views
I have a method that sends a report out to the browser in excel format. It works fine if I pass it a report but when I pass it a report book I get the error "Excel found unreadable Content in 'MyReportName.xls'. Do you want to recover the contents of this workbook? If you trust the source of the workbook click Yes. When I click Yes it generates the workbook with all of the tabs in place the only issue is the first tab has the correct name and the remaining tabs are named Recovered_Sheet1, Recovered_Sheet2 ..... Recovered_Sheet10.
private void WriteToExcel(IReportDocument report)
{
    ReportProcessor reportProcessor = new ReportProcessor();
    RenderingResult result = reportProcessor.RenderReport("xls", report, null);
 
    Response.Clear();
    Response.ContentType = result.MimeType;
    Response.Cache.SetCacheability(HttpCacheability.Private);
    Response.Expires = -1;
    Response.Buffer = true;
 
    Response.AddHeader("Content-Disposition",
                       string.Format("attachment;FileName=\"{0}.xls\"", result.DocumentName));
 
    Response.BinaryWrite(result.DocumentBytes);
    Response.End();
}

Thanks in advance for any and all help!
Stef
Telerik team
 answered on 01 May 2014
1 answer
301 views
Hello.  In Telerik Reporting, when I edit in the design file and save, I've recently started getting this error often:  Code generation for property 'Value' (and sometimes 'StyleName') failed.  Object reference not set to an instance of an object.

I'd made considerable changes to a designer file yesterday, and when I did a Get Latest in VS, it forced me to merge manually to resolve some conflicts.  As I was comparing the server version to my version of the designer.cs file, I found some 20+ controls were missing this line:  this.SomeControl.Value = "";   And, one this.SomeControl.StyleName = "";  I have no idea why all those would be missing???  Any idea what I could be doing to cause that?
Nasko
Telerik team
 answered on 30 Apr 2014
2 answers
180 views
Hello. I've only found a few threads that deal with my question but none provided an answer. I need the ability to change the grouping on a report. Is this possible? Is it efficient? Are there any examples that I can download? I've tried the example projects from this thread but they are incomplete ( no report(s) ).

Thanks for any advice!
Peter
Telerik team
 answered on 30 Apr 2014
2 answers
246 views
I have an Image placed in PictureBox control at report footer and assigned it's value, when using export i could fine (visible) in PDF an MS Word but not in Excel Export, tried using relative URL but no luck, any help would be appreciated.

Thanks,
R
Ramesh
Top achievements
Rank 1
 answered on 30 Apr 2014
4 answers
108 views
Silverlight, VS 2010, VB.NET

I would like to add a button or clickable image that will raise an event in my code behind.

In my report I display, for example, a list of clients.  when the user clicks the 'open' button or image I want to launch a user control that displays the client entry screen.

Is this possible?
Stef
Telerik team
 answered on 29 Apr 2014
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?