Telerik Forums
Reporting Forum
1 answer
133 views
Hello,

I'm a brand new Telerik Reporting user working on a WPF/Entity Framework project which will eventually have ~250 reports.  We're using VS 2010 with the latest Telerik Reporting release.  I'm researching how to best set up the report architecture for easiest maintenance, most reuse, and fastest speed when developing and testing reports.  So far, we've created a BaseReport which inherits from Telerik.Reporting.Report and contains StyleSheet rules, methods to programmatically create Report and Page Headers/Footers, and other multi-purpose user-defined functions.  Any other report will inherit from the BaseReport.  This approach is seems workable for the most part, but I'd greatly appreciate input about a couple questions:

1. General Design: Does anyone see issues with our approach?  Is there a better way to achieve the goals above?

2. StyleSheets: I'd like to utilize the BaseReport's StyleSheet directly, assuming it should be available via inheritance, but the styles defined in the BaseReport don't seem to be recognized in the reports which inherit from BaseReport.  I understand an ExternalStyleSheet can be utilized.  However, this is less than ideal because I believe the ExternalStyleSheet needs to be manually added to each new report.  Also, the styles aren't visible in the "StyleSheet" property.  Whatever the solution is, we need to make sure that later changes to the global StyleSheet will be reflected in previously existing reports. 

3. VS Template: When I create a new report using the Telerik Reporting Template in VS, there are a number of changes I need to make each time.  Can the VS Template be modified to avoid this repetition or is there another recommended technique?

Thanks much!!

Derek
Top achievements
Rank 1
 answered on 04 Dec 2010
21 answers
605 views
Hi,
     This is Abhi here and I am using teleric reporting for  report generation in my project..Im getting  a performance issue while using filtering option. My code is here...

this.Filters.AddRange(new Telerik.Reporting.Data.Filter[] {

new Telerik.Reporting.Data.Filter("= Fields.[Type]", ((Telerik.Reporting.Data.FilterOperator)(Telerik.Reporting.Data.FilterOperator.In)), "= Parameters.[Type]")});

reportParameter5.Name =

"Type";

reportParameter5.UI.AvailableValues.DataSource = dsUsers.Tables[0];

reportParameter5.UI.AvailableValues.ValueMember =

"Type";

reportParameter5.UI.MultiValue =

true;

reportParameter5.UI.Text =

"Type";

reportParameter5.UI.Visible =

true;

this.ReportParameters.Add(reportParameter5);

It create dropdownbox and it filter the column fantastic but it shows one red asterisk near the dropdownbox if i pass empty value. and nothing happen if I press Prieview button.

since I have empty value also in that column(in few rows).. I have tried using

reportParameter5.UI.Allowblank= "true";
but nothing happens...

//2nd Issue
I have used multiview on my page and in one view i have kept telerik reportviewer control
when i run my page it shows perfect report but it is showing  print, refresh,navigation button on the tab of the reportviewer twice.

pls clear my doubt
thanx

Gersh
Top achievements
Rank 2
 answered on 03 Dec 2010
1 answer
145 views
Hi,

I have added two DateTime parameters i-e "Start Date" and "End Date" in a Report. Now I want to restrict the user that the End Date should be greater than the Start Date. Any Suggestions how to do that ?

Regards.
Steve
Telerik team
 answered on 03 Dec 2010
3 answers
209 views
Hello, i have report with crosstab. after set property RowHeadersPrintOnEveryPage = true In ReportViewer i see report with crosstab headers on every page. But after export in Excel for printing (and changing if needed) crosstab headers printed only first page. Exist solution for fix this?
Steve
Telerik team
 answered on 03 Dec 2010
1 answer
97 views
I have a business requirement where I need to show or hide the chart if there are more then 5 records returned. When the chart is hidden I would like the rest of the report to move up and reclaim the space that the chart took up.

I have tried setting the height in code, binding to it, and using the dock / anchor pattern.

Can you give me any suggestions on how I can accomplish this.

Thanks
Peter
Telerik team
 answered on 03 Dec 2010
2 answers
708 views
Hello.

Is it possible to have a conditional formatting checking if its the last page?

I have a report footer now but I always want it to always end up on the bottom no matter how much fill there is in the last page. Just above the page footer. Couldn't get this working so maybe I can solve this by doing this in a panel and hide the panel if its not the last page and place it in the page footer.

Can I do this?

/E
Emil Einarsson
Top achievements
Rank 1
 answered on 03 Dec 2010
5 answers
189 views
I am trying to debug a report and having trouble.   It depends on a significant database, and I would like to debug using the Telerik source code, but unfortunately, it fails to compile in VS 2010.

Do you have some guidance on how to get it to compile?
Steve
Telerik team
 answered on 03 Dec 2010
2 answers
300 views
I am trying to have 2 subreports on one report, and which one becomes visible is based on a field value that is actually also a grouping on the main report.  I have looked through documention and other forum posts - most just deal with changing the datasource on the subreport, but I want to actually change which report appears.  Is this possible?  If so, how?

Thanks, Amy
rupesh
Top achievements
Rank 1
 answered on 03 Dec 2010
4 answers
217 views
Hello,


I am having trouble with the ReportViewer. I am in a MVC projet but i already had this control working and looking fine in MVC. the display looks odd but not like
"The styles of the web report viewer's toolbar are messed up"

If you have any clues...


Paul
Top achievements
Rank 1
 answered on 02 Dec 2010
2 answers
132 views
Telerik.Reporting.Service.ReportServiceOperationException: Object reference not set to an instance of an object.
   at Telerik.Reporting.Service.ServiceOperationResultBase.RaiseExceptionIfNecessary()
   at Telerik.Reporting.Service.ServiceOperationResultBase.ThrowOnError()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnRenderAndCacheCompleted(Object sender, RenderAndCacheEventArgs e)

I"m getting this when I run my report than runs under the older controls. It is a custom database and I can't send you a copy that has data in it.  Is something going on?
version 4.2.10.1119
Tim
Steve
Telerik team
 answered on 02 Dec 2010
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?