Telerik Forums
Reporting Forum
1 answer
184 views
I've just upgraded to the 611 version and I can no longer successfully build my solution. It seems that the RenderReport method will no longer accept a ReportBook parameter although all the documentation claims that it does.

My scenario is that I create a ReportBook from 3 Reports and then pass it over to the ExportToPDF method. I now get the following compile time errors.

Error    66    Argument 2: cannot convert from 'Telerik.Reporting.ReportBook' to 'Telerik.Reporting.ReportSource'   
Error    65    The best overloaded method match for 'Telerik.Reporting.Processing.ReportProcessor.RenderReport(string, Telerik.Reporting.ReportSource, System.Collections.Hashtable)' has some invalid arguments


    void ExportToPDF(string reportName, Telerik.Reporting.IReportDocument reportToExport)
    {
        ReportProcessor reportProcessor = new ReportProcessor();
        RenderingResult result = reportProcessor.RenderReport("PDF", reportToExport, null);
 
       using (FileStream fs = new FileStream(fileName, FileMode.Create))
        {
            fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
        }
     }

I have tried multiple ways to configure this using the ReportSource class but am unable to figure out how this works.

Your assistance, as always, is greatly appreciated.

Thanks
Clyde
IvanY
Telerik team
 answered on 13 Jun 2012
1 answer
173 views
Hi,
While searching through forums, i got to know that it does not support 3D chart types and it seems that we can generate the 3D chart image outside of the Report class and show it in the Report through the picturebox report item.
Anyone can help me how to create the 3D charts in telerik reporting using the above process.



Steve
Telerik team
 answered on 13 Jun 2012
1 answer
890 views
Hi , 
i am using telerik reporting to generate mails  , i have a textbox when i must put the  site and the current date in short format .  i am tring with : format("{d:0}", Now()) but does not work .
have you any idea ?
thank you for reply . 
Steve
Telerik team
 answered on 13 Jun 2012
1 answer
87 views
We are using Telerik reporting and we would like to customize the look of the ReportViewer.


We have managed to change the basic skin, but we still need to modify the presentation of the Parameter Area that is auto-generated.


The parameter area seems to be generated by this web request: /Telerik.ReportViewer.axd?instanceID=xxxx&optype=Parameters


How can we modify the way that the web handler is formatting the editors for each parameters? It is placing each parameter in a table with two columns, which does not look good. We need to control where the parameter dropdowns are placed (at least in a table with 3 or 4 columns, not fixed to 2).


Any help would be appreciated
Steve
Telerik team
 answered on 13 Jun 2012
1 answer
903 views
I have set up my MVC 3 application to use the report viewer.  This works fine locally, but it will not load once deployed to IIS.  I opened up fiddler and whenever a request for /Telerik.ReportViewer.axd?... is made, a 404 error occurs.  I have seen many other posts with this problem, and it was usually issues with the web.config, but it seems my web.config is correct.

In my web.config:

<httpHandlers>
      <add type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" validate="true"/><br>
    </httpHandlers>

  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules runAllManagedModulesForAllRequests="true" />
    <handlers>
      <add name="Telerik.ReportViewer.axd_*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
    </handlers>
  </system.webServer>

Paul D.
Top achievements
Rank 1
 answered on 12 Jun 2012
1 answer
140 views
Hi there,

I'm facing a little problem:

Is it possible to switch the subsets in the designer?

For example:
I've got 2 parts of a barcode. The first should always be subset A, the second always subset C.
Now, what I want to do, is defining a barcodefield, that takes my first part with subset A and the rest in subset C.

http://www.telerik.com/help/reporting/report-items-barcode.html 

This page was quite helpfull, for switching the subset via fieldvalue, but that doesn't fit my question of dealing with the switch in the designer.

Any help is greatly appreciated~
Elian
Telerik team
 answered on 12 Jun 2012
1 answer
121 views
Hi all

I want to know is how to Xaml send data from the Report.

I wish I was hoping you could help us thank you.

^^;

..

Test.Xaml

args.ParameterValues.Add("Test", "2012010001");



Report.CS

string  St_Query_Parameter_Data = this.ReportParameters["Test"].Value.ToString();

Mssql Query  : Select * from Test_Data Where NO_CODE = St_Query_Parameter_Data !! Error
St_Query_Parameter_Data  <== Null Data


Hadib Ahmabi
Top achievements
Rank 1
 answered on 12 Jun 2012
1 answer
72 views
Telerik  Reporting   use   in   silverlight    client...

Telerik  Reporting  use  in  silverlight???

Data  set  in   Silverlight   client  ,  how   to  use   "Telerik Reporting"   showing    the   report   data  ?

Data in a database has been sent to the  silverlight client.

Official  website  there  is no  such Demo???  I  can't  find  it...
Elian
Telerik team
 answered on 12 Jun 2012
1 answer
95 views
Hi,
I am working telerik reporting showing class detail. I have grouped it by ClassID. It has the "Time" field which I have to sum in the "GroupFooterSection", for this purpose I have sum the time in Fill() method of report and assigned the value to the textbox in GroupFooterScetion. But it is showing the same value for each group, and also it is giving me the sum of all classes instead of showing group wise result.

Regards,
Sonia Shahid
Hadib Ahmabi
Top achievements
Rank 1
 answered on 12 Jun 2012
1 answer
148 views
I created in my master-report this eventheandler, but error tell me (Processing.SubReport subReport = (Processing.SubReport)"sender;) dont' cast Processing.SubReport with Processing.Report.

I want view textbox13 when subreport = 0

 

 

public masterReport(string x)

 

{

InitializeComponent();

 

try

 

{

sqlDataSource1.SelectCommand =

 

".......";

 

 

 


this
.sys2.ItemDataBound += new EventHandler(sys2_ItemDataBound);

 

}

 

 

catch (Exception)

 

{

 

 

throw;

 

}

}



 

 

void sys2_ItemDataBound(object sender, EventArgs e)

 

{

Telerik.Reporting.Processing.

 

SubReport subReport = (Telerik.Reporting.Processing.SubReport)sender;

 

Telerik.Reporting.Processing.

 

Report report = (Telerik.Reporting.Processing.Report)subReport.InnerReport;

 

 

 

if (report.ChildElements.Find("trasmissione", true).Length > 0)

 

{

subReport.Visible =

 

true;

 

}

 

 

else

 

{

textBox13.Visible =

 

true;

 

}

}

Please, help me. Thank you

Hadib Ahmabi
Top achievements
Rank 1
 answered on 12 Jun 2012
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?