Telerik Forums
Reporting Forum
1 answer
42 views
Is there a way to just print an already generated Excel report with Telerik Reporting, re-using the ReportData.Data byte[] from earlier? I need to do this server side.
KS
Top achievements
Rank 1
 answered on 13 Jun 2014
3 answers
360 views
Hi 
I am new and am trying to find the way to increase width of the parameter value in report. Report is designed on two parameter and based on first parameter value of another parameter is populated. This report is working fine in designer view and in normal .aspx web ReportViewer but width is not coming properly for parameters. So I used HTML5 report viewer but it seems initial report is rendering properly with First parameter values data populated from datasource. But it seems it does not allow to change the parameter value and also it is not fetching other parameter report value and it seems selection is getting reset. They are a multivalue parameters.
Do you know how can we resolve this issue as it seems ReportViewer in aspx is working fine but it does not work same in HTML5 report viewer?

Regards

Vraj
Nasko
Telerik team
 answered on 13 Jun 2014
2 answers
86 views
Hello Everyone,

   I am very new to reporting, I have 2 line series charts on a windows phone page and I have 2 different views which I have exposed in WCF Data service. I have got the results in 2 different data service collections, but I am not able to bind the dataservice collections to the respective charts. I have added the code {Binding DataServicecollection1} and {Binding DataServicecollection2} in the xaml file. Could you please help me out in this?
Bharath
Top achievements
Rank 1
 answered on 13 Jun 2014
1 answer
131 views
Dear All,

I've been trying to search for mechanisms to call exporting of telerik report viewer externally using button.

I came across the following code but do not have much clue about how to pass in the input "reportToExport"? What exactly is the Assembly Qualified Name of the report? and where can I find it? Much appreciated any help. Thanks

void ExportToPDF(string reportToExport)
{
    var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
    var typeReportSource = new Telerik.Reporting.TypeReportSource();

    // reportToExport is the Assembly Qualified Name of the report
    typeReportSource.TypeName = reportToExport;

    var result = reportProcessor.RenderReport("PDF", typeReportSource, null);

    this.Response.Clear();
    this.Response.ContentType = result.MimeType;
    this.Response.Cache.SetCacheability(HttpCacheability.Private);
    this.Response.Expires = -1;
    this.Response.Buffer = true;

    /* Uncomment to handle the file as attachment
     Response.AddHeader("Content-Disposition",
                    string.Format("{0};FileName=\"{1}\"",
                                    "attachment",
                                    fileName));
     */

    this.Response.BinaryWrite(result.DocumentBytes);
    this.Response.End();
}
Peter
Telerik team
 answered on 12 Jun 2014
2 answers
138 views
First I am using the Telerik.ReportViewer.WebForms ver 8.0.14.507 with VS 2013 Professional SP2.

I am using the reportviewer on a web form running inside of telerik:RadAjaxPanel and I initially have the reportviewer visible set to false.

        <telerik:ReportViewer ID="ReportViewer1" runat="server" 
            Visible="False" Width="100%" Height="600px" ViewMode="PrintPreview">
        </telerik:ReportViewer>

When I run my webform and select the date to show my report for then in code behind I then set the reportviewer visible to true, the reportviewer does not show up in VS 2013 SP2 using IIS Express.

            ReportViewer1.ReportSource = reportSource
            ReportViewer1.Visible = True
            ReportViewer1.RefreshReport()

I can disable ajax in the RadAjaxPanel and then the reportviewer shows up correctly. I can also run the webform on the live server with ajax enabled and it again shows up correctly. I can also run the same webform in VS2010 with ajax enabled and it again shows up correctly.

So the problem is that with ajax enabled in VS 2013 SP2 the reportview is not showing up running in IIS Express. I have also tried Google Chrome, IE 9, Safari and the same across all browsers. I believe that it was working in VS2013  SP1. All other ajax pages work ok, just not the reportviewer.

Any ideas what I need to do to fix this? 
Jerry Jansen
Top achievements
Rank 1
 answered on 12 Jun 2014
3 answers
399 views
I'm working with Telerik Reporting Q1 2014 in ASP NET C#.
Using ReportViewer I'm having the problem that in google-chrome browser any font in bold is showing in regular font. This doesn't happen in Mozilla FireFox neither in internet explorer, just in Google-Chrome. ¿What could be happening? ¿What can I do to fix it?

I hope you can help me
Chavdar
Telerik team
 answered on 12 Jun 2014
1 answer
331 views
Hi,
I have added a conditional formatting in one of my report to make red a date if it is older than 30 days:

=Field.StatusDate <= = Now().AddDays(CDBl(-30)))       then I apply the style : background = red

The above is working fine and I get the desired result.

My problem now is to exclude from the above conditional formatting the values having "Field.StatusDate older than 30 days" where the "Field.Status" value is ="B"

Can some one help please?

Thank you,
Felice
Stef
Telerik team
 answered on 11 Jun 2014
1 answer
308 views
Is it possible to display a dataset spread over 2 sets of columns in a table?

Eg

Desc     Value     Desc       Value
Item1   xxx         item2    xxx
Item3   xxx         item4    xxx

thanks
Stef
Telerik team
 answered on 11 Jun 2014
7 answers
396 views
Hi

I'm using the Q3 preview and have built the report viewer into a web page. Currently, when print is selected, a PDF is created, which has to be manually printed from a PDF viewer. This seems a bit clunky - will the Q3 release enable me to print directly to the default printer, or to select a printer based on a report property?

Cheers
Stef
Telerik team
 answered on 11 Jun 2014
3 answers
182 views
I am using a customised linq to sql datacontext in a objectdatasource. When I add this datasource to a table, it shows error  'Ambiguous match found'. I think it's my Shadowed property that causes this error. Is there any work around? I need to use Shadows as I want to hide the property generated from  linq to sql datacontext and use my inherited class with pre-filtering.

This is what my customised datacontext looks like: 
Public Class ReportTestFiltered
  Inherits ReportTestDataContext
  Public Sub New()
    MyBase.New()
  End Sub
 
  Public Shadows ReadOnly Property Users() As IQueryable(Of User)
    Get
      Return MyBase.Users.Where(Function(x) x.Active).AsQueryable()
    End Get
  End Property
End Class
IvanY
Telerik team
 answered on 11 Jun 2014
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?