Telerik Forums
Reporting Forum
1 answer
118 views
Hello sir,
I am making report in telerik and I want to make report using code in my silver light project do you have any solution for this?

Thanks
Shakti
Steve
Telerik team
 answered on 26 Apr 2011
3 answers
238 views
I am having an issue where the report is not refreshed when the navigate back button is used on the report viewer toolbar.  The main report uses drillthrough functionality to show a more detailed report.  When you navigate back from the drillthrough report you have to click the refresh button for the data to show.

I am using the NeedDataSource event to populate the data initially.  However this event is not fired when the navigate back button is used.
Steve
Telerik team
 answered on 26 Apr 2011
1 answer
60 views
Hi,
I have to create a report for many item (animal), for each animal there are a header section with general information and a detail section with the list of birth (number of children, average weight etc..).

I use report parameter to pass the animal id from my silverlight application.

I start with report for single animal: in the header and footer I insert textbox with date and animal id, in detail section I insert general animal's informations and a table with list of birth.

As datasource I use my custom class Animal that contains general information and an List<BirthInformation> called ListBirth.

I create two datasource, ds1 for the report with Animal class and ds2 for the table with birth information setting datasource to Animal and DataMember to ListBirth. I had to make the second datasource for see the member of the list ListBirth

In the report's code I use NeedDatasource event, so on constructor I put the report datasource to null, and in the event handler I use the code:

Animal a = GetAnimal(id);
this.DataSource = a;
this.table4.DataSource = a.ListBirth;  

The report work fine.

Is this correct way to work?

I need now to make the report (single) form many animal whit a page break from an animal and the next, but I don't understand if I do to use a group or a new report with this report as subreport in a table and how to set the datasource.

Thank you very much.
andrea

Peter
Telerik team
 answered on 26 Apr 2011
1 answer
189 views
We have a variety of reports that we have set up with some parameters. For instance we have a High/Medium/Low filter that has a drop down at the top of the report. Our issue is this dropdown displays ParameterItem+SelectAllItem on one report instead of High Medium Low (or even Select Priority, which is preferred). In the ReportParameter Collection Editor in the Available Values section we are tied to a entityDataSource. The DisplayMember is =Fields.RecruitPriorityValue  We have a variety of filters/parameters that we use for quite a few new reports and this is an issue for all of them.

Steve
Telerik team
 answered on 26 Apr 2011
3 answers
91 views
I am getting the following error message when I try to drag and drop a Subreport in the PageHeader Section of my report.  I can add the Subreport to the ReportHeader, but not the PageHeader.  Why??????

Error Message:  Cannot add subReport1(Telerik.Reporting.SubReport) to pageHeaderSection1(Telerik.Reporting.PageHeaderSection)

I am using  Visual Studio 2008 SP1 and Telerik Reporting 2009 Q2

Thanks,

Charlie J.
Steve
Telerik team
 answered on 26 Apr 2011
4 answers
135 views
Hi,

    Is there an event run when the user clicks on the Action of a report E.G

    Drill report Liks to a Sub report.

    When user clicks to load this report Fire Event user wants to load X Report..

   What i would love would be an action to "run action even", so that when a user clicks a code on the report we cold load a code edit window in our main app.
Travis
Top achievements
Rank 1
 answered on 25 Apr 2011
6 answers
629 views
I have two input parameters type of Guid.
I set default values for parameters like d6a0d1a8-0d5d-4850-9930-5670dfa26403 or 'd6a0d1a8-0d5d-4850-9930-5670dfa26403'

When report preview I have error : Failed to convert parameter value from a string to Guid.

What is wrong?
Massimiliano Bassili
Top achievements
Rank 1
 answered on 22 Apr 2011
8 answers
1.4K+ views
Hi All,

I'm interesting is it possible to use Business Object Datasource for reporting ?

I mean how to display complex values, let me explain with example:

I have classes:
public class SubClass  
{  
  public string Name {get;set;}  
}  
 
public class MyClass  
{  
  public string Name {get;set;}  
  public SubClass subClass {get;set;}  

And also have a
List<MyClass> list = MyBusinessLogic.GetList(); 

I know how to set report datasource to list, but how to display MyClass.subClass.Name ?
 =Fields.subClass.Name don't work.

Thanks.
japss
Top achievements
Rank 1
 answered on 22 Apr 2011
1 answer
78 views
If I create a chart, and choose a DataSource for it via the properties menu, then add a series to the chart.  Why are the dropdowns all blank for "DataLabelsColumn, DataXColumn, etc.)?
Steve
Telerik team
 answered on 22 Apr 2011
2 answers
125 views
Hi,

I am using Telerik Report Q3 2010 + Silverlight for.

<telerik:ReportViewer x:Name="sampleReport" ReportServiceUri="../ReportService.svc"
                              Report="sampleReportDetail, Server" />


the sampleReportDetail reside in Server and populate domain service data in NeedDataSource.

Is there anyway that i can cache the complete report, so that whenever the "View Report" button is clicked, it will not even hit the Server ReportService?

Thanks alot.
Massimiliano Bassili
Top achievements
Rank 1
 answered on 22 Apr 2011
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?