Telerik Forums
Reporting Forum
1 answer
62 views

Hi,

 I have a report which has 6 tables. The data source for all the 6 tables are same. But every time each table is executing the the data object is hit and 

its making the execution slow. Is there any way that for all tables the data object(data fetching) should be done once and for every table the data object should not 

hit back or re execute. Please Help

Ellis
Top achievements
Rank 1
 answered on 19 Aug 2015
3 answers
152 views
I'm trying to pass in some business objects to an ObjectDataSource that inherit from DynamicObject. I want to be able to use properties that aren't concretely defined at compile time in the reports using the Fields.<Field name> syntax. I keep getting an error saying that these fields are available with in the context. Any suggestions?
Peter
Telerik team
 answered on 19 Aug 2015
2 answers
141 views

When I try to export to PDF (or any other format) in Chrome using the Q3 2014 reports it sends me to a link like this:

http://goodwillemployees.mo.trainup.com/api/reportresolver/clients/153811-20d9/instances/153812-3829/documents/153816-e04f?response-content-disposition=attachment

And I get the error shown in the attached image. However, I can copy/paste this link into an IE browser and it will work perfectly.

I'm not really even sure how to further debug this problem.

 

 

Brandon
Top achievements
Rank 1
 answered on 18 Aug 2015
3 answers
148 views

We have an issue regarding report that they are not working in  firefox. They are working good with chrome, but there is some problem with . 

I have searched about it on Google. But no help.

Nasko
Telerik team
 answered on 18 Aug 2015
2 answers
143 views

Hello

I have a masterreport containing a subreport i need to bind to a quoteobject.



My masterreports datasource are set via an overloaded contructor like:

        public masterreport(string P1, string P2)
        {
            InitializeComponent();

            //set masterreport datasource  (Works fine)

            Quote q = new Quote(​P1, ​P2);
            this.DataSource = q;

            //load subreportcontrol   (doesent work!)

            this.subReport1.ReportSource = new BackEnd.Reports.mysubreport(q);

        }

 

  my subreports overloaded constructor looks like :

        public subreport(Quote ​q)
        {
            this.DataSource = ​q.cfgs;  //cfgs is List<quotelines>    
        }



The masterreport is loaded into a reportviewer using :

 this.ReportViewer1.ReportSource = new BackEnd.Reports.masterreport("param1","param2");



Result is ok regarding the masterreport, where as the subreport doesent load.
The subreport works fine if I bind a datasource in the designer.

Should the above not work for binding the subreport, or have i missed something?


any inputs are welcome

Regards  
MArk


Mark
Top achievements
Rank 1
 answered on 18 Aug 2015
2 answers
614 views

Hallo!

I have two calculated Fields in an Q2 2015 Report.This Fields work well in the ​Preview Mode of your Stand-alone-designer.

However, when databound via code i get this error: "The expression contains object 'xxx' that is not defined in the current context".

Omitting both fields creates the report OK.

I am using the Fields like this:

[= "Name: " + Fields.​salutation + " " + Fields.​name]

where "Fields.salutation" would be a calculated field.

Is that not possible? Or am I doing something wrong?

Thanks for your Support!

 

IT AE
Top achievements
Rank 1
 answered on 18 Aug 2015
1 answer
151 views

I have a report that displays fine no matter the parameters that I put into it on my development machine.  When I push it to production when I use a small date range it comes up fine.  When I try to expand the date range it will display the attached image showing that it is fetching the records then it will just sit there in a non-selectable state for as long as you let it sit.  Running SQL profiler, the query is executing in less than 8 seconds and is returning 15,500 rows so it is not a incredibly large amount of data.

 I have a few other reports that are running fine it just a couple that seem to have this issue.  Tried it on Chrome, IE, Safari and all seem to have the same problem.

 Any ideas on where to go next?

Nasko
Telerik team
 answered on 18 Aug 2015
1 answer
329 views

Hello Telerik Team,

I'm find it difficult to pass a report parameter value from the client side and access the particular value within the Telerik report class.

cshtml code.

@{
        TypeReportSource typeReportSource = new TypeReportSource() { TypeName = typeof(TestTelerik.Website.Reports.MySales).AssemblyQualifiedName };
        typeReportSource.Parameters.Add("param", "A");
    }
     
    @(Html.TelerikReporting().ReportViewer()
    .Id("reportViewer1")
    .ServiceUrl(Url.Content("~/api/reports/"))
    .TemplateUrl(Url.Content("~/ReportViewer/templates/telerikReportViewerTemplate-9.1.15.624.html"))
    .ReportSource(typeReportSource)
    .ViewMode(ViewMode.Interactive)
    .ScaleMode(ScaleMode.Specific)
    .Scale(1.0)
    .PersistSession(false)
    .PrintMode(PrintMode.AutoSelect)
    .Deferred()

 

I have defined a method to trigger NeedDataBind event which is as follows.

private void ProductReport_NeedDataSource(object sender, EventArgs e)
{
      var myParam = this.ReportParameters["param"].Value.ToString();
}

 

Also i have defined report parameter as follows. However, this.ReportParameters["param"].Value is always null. Could I know what am I doing wrong in my code.

reportParameter1.Name = "param";
this.ReportParameters.Add(reportParameter1);

Stef
Telerik team
 answered on 18 Aug 2015
1 answer
723 views
Can you or can you not convert/import RDLC reports?
Stef
Telerik team
 answered on 18 Aug 2015
2 answers
141 views

We have a report with a Multivalue parameter.  We use the WebForms ReportViewer control to allow the user to make a selection before running the report.  We have noticed that, when certain combinations of selections are made, if the user selects out of the combobox and selects back into it, some of their selections are lost.  It is always the same selections that get lost.

I have checked the datasource that the multivalue parameter is bound to and there are no duplicate IDs in the list of values. 

Are there any known issues with the ReportViewer control and multivalue comboboxes that might explain why certain selections can get unselected?

Paul
Top achievements
Rank 1
 answered on 17 Aug 2015
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?