Telerik Forums
Reporting Forum
0 answers
92 views
Hi Champs,

Hi,

I am also facing same problem to display hierarchical collections. My object is like below.

Class QuestionScenario
{
public string Name{get;set;}


private ModelVersion _modelVersion;
public virtual ModelVersion ModelVersion 

   get
   {
       return this._modelVersion;
   }
   set
   {
       this._modelVersion = value;
   }
}


private IList<Answer> _answers = new List<Answer>();
public virtual IList<Answer> Answers 

   get
   {
       return this._answers;
   }
}

}

public partial class ModelVersion
{
private Guid _modelVersionID;
public virtual Guid ModelVersionID 

   get
   {
       return this._modelVersionID;
   }
   set
   {
       this._modelVersionID = value;
   }
}


private IList<Question> _questions = new List<Question>();
public virtual IList<Question> Questions 

   get
   {
       return this._questions;
   }
}
}


Again question class has some property.

Now i want to display name from class QuestionScenario
and QuestionText from QuestionClass. i.e inside the modelversion class on My report page. 

If possible please give a sample.

Thanks in Advance.
DS
divyalok
Top achievements
Rank 1
 asked on 11 Oct 2012
1 answer
68 views
We have some reports that have table with header and detail data and charts on the same report and some with just the table with header and detail data. So we are using the report viewer control in Asp.nEt MVC environment. Is there a better approach to this?
Steve
Telerik team
 answered on 11 Oct 2012
1 answer
85 views
What is the best way to pass in data for the chart and the table with header and details on the same report.
Steve
Telerik team
 answered on 11 Oct 2012
4 answers
135 views
Is it possible to add 3d graphs on reports(Without using WPF)?

Thanks in advance
Swpanil Trambake
Sr. Developer
Subramanya
Top achievements
Rank 1
 answered on 11 Oct 2012
8 answers
601 views
I would kindly need to know if it is possible to have a custom text for labels on a chart pie slice different from the one set for legend items. Pie chart is bound to an ObjectDataSource.

e.g. Chart label displays the numeric value of the item while legend holds a descriptive name for the item.

Thank you in advance !

Federico Blaseotto
Paul
Top achievements
Rank 1
 answered on 11 Oct 2012
6 answers
104 views
Hello Telerik,

I am concerned that the only development for the Reporting product is the stand alone Report Designer. The current RoadMap and the last couple releases seem to focus, almost exclusively, on this.

Are there intentions of updaing functionality in the standard development side of things?

Thanks,
John S.
John S.
Top achievements
Rank 1
 answered on 11 Oct 2012
4 answers
684 views
Is there a way to setup optional parameters using telerik reporting?
I have a report that could potentially contain a large amount of data so I do not want to use filters if possible.
Ideally I'd like to define several parameters such as start start date and end date. If a user enters start date it returns everying greater than oir equal to that date, the end date returns everything less than or equal to it OR I could enter both dates and return all dates within the range. Theactual report is quite complicated and there will be more parameters but the general principle applies.
Steve
Telerik team
 answered on 10 Oct 2012
1 answer
106 views
I am having some trouble linking a sub report to my master report.  This is my first attempt and am not sure that I am doing it properly.  I tried following the example in the documentation (http://www.telerik.com/help/reporting/designing-reports-master-detail.html) but I can't seem to navigate to the sub report that I have created so that I can place it on the master report.

I have provided a screen shot with a little more detail.

Thoughts?

Doug
Peter
Telerik team
 answered on 10 Oct 2012
1 answer
263 views
hi, i got a problem with a subreport, i want to set datasource on needdatasource method, this works fine on Q1 2012 but i just migrate my report and it doesnt work my code that used to work is
Telerik.Reporting.Processing.
 
ReportItemBase item = (Telerik.Reporting.Processing.ReportItemBase)sender;
 
int idQueja = (int) item.DataObject["idQueja"];
 
  
 
cNQueja ocNQueja = new cNQueja(idQueja);
 
ocNQueja.Load();
 
denunciadosReport.ReportSource.DataSource = ocNQueja.ListaDenunciado;

i need to set the datasource on needdatasource of my subreport
thanks

Alberto
Steve
Telerik team
 answered on 10 Oct 2012
2 answers
286 views
Hello!

I upgrade a project to "Telerik Reporting Q2 2012 SP2 (6.1.12.820)" from "(4.0.10.423)". The following code dont work, after the upgrade.
<UserControl x:Class="Sta1.UI.Modules.Reports.ReportDetailView"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:telerik="clr-namespace:Telerik.ReportViewer.Wpf;assembly=Telerik.ReportViewer.Wpf" mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300" x:Name="thisWindow">
  <Grid>
    <telerik:ReportViewer Report="{Binding DataContext.Report, ElementName=thisWindow}" />
  </Grid>
</UserControl>

The exception is:
A 'Binding' cannot be set on the 'Report' property of type 'ReportViewer'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject.

In the ViewModel is this code:
...
    private Report _report;
    public Report Report
    {
      get { return _report; }
      private set
      {
        _report = value;
        NotifyOfPropertyChange(() => Report);
      }
    }
 
    public void SetReport(Report reportToShow)
    {
      Report = null;
      Report = reportToShow;
    }
...

Thanks in advance
wal1
wal1
Top achievements
Rank 1
 answered on 10 Oct 2012
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?