Telerik Forums
Reporting Forum
1 answer
157 views
I created a report in Q3, and reading a number in from a field, what I would like to do is format the number like this

if the number is > then 8 digits, format it like this ### ### ###

if it is <= 8 digits format it like this #### ####

how would I do this, I am new to all of this and still learning please guide me in the right direction, or maybe a video or certain page in the manual would be great.

thanks in advance

Pete
Steve
Telerik team
 answered on 27 Apr 2009
0 answers
185 views
Hello, my name is Silvia and i have a question.
I'm using pie chart and I want to make slices of cake in pie of a different color depending on a field of dataset. The color I want is a field of the dataset. How can I do? 
Thanks for your help,
Silvia
SIlvia
Top achievements
Rank 1
 asked on 27 Apr 2009
5 answers
196 views
Hello,

I was trying the Export programmatically from the documentation http://www.telerik.com/help/reporting/programmatic-exporting-report.html.

Then I encountered this error NotImplementedException unhandled by as user code.
at Telerik.Reporting.Processing.ItemFactory.CreateItem(ReportItemBase itemDef)    at Telerik.Reporting.Processing.ReportProcessor.ProcessReport(Report reportDefinition)    at Telerik.Reporting.Processing.ReportProcessor.Render(String format, Report report, Hashtable deviceInfo, CreateStream createStreamCallback, String& documentName)    at Telerik.Reporting.Processing.ReportProcessor.Render(String format, Report report, Hashtable deviceInfo, String& mimeType, String& documentName, String& extension, Encoding& encoding)    at Telerik.Reporting.Processing.ReportProcessor.Render(String format, Report report, Hashtable deviceInfo, String& mimeType, String& extension, Encoding& encoding)    at MyReportViewer.PDF.Page_Load(Object sender, EventArgs e) in D:\Documents and Settings\ajs\My Documents\Visual Studio 2008\Projects\MyReportViewer\MyReportViewer\PDF.aspx.vb:line 12    at System.Web.UI.Control.OnLoad(EventArgs e)    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

My goal was to try to make FontEmbedding flexible during export instead of hardcoding in webconfig. User can have their choice to either embed or not to embed the Arial Unicode. This will give more flexibility for pdf export.

I tried to search for this error but I cant find any reference, may I know whats the cause of the error, or do you have any working sample project that use the fontembedding.

Thanks


Steve
Telerik team
 answered on 27 Apr 2009
8 answers
533 views
I am currently using the RadControl for ASP.NET for grids, charts, sliders, etc.  We did not purchase the Telerik reporting.  Before I try to fight to purchase it, I want to ask a question:  with Telerik reporting, can I export mutiple reports to one pdf file?  For example, I would have an application that allows you to run 3 or 4 different reports.  If the person chooses to run 3 of them, can they then choose to send all of the chosen reports to one pdf file?  If they can, could they also include the charts that would appear on the same page?
Amy
Top achievements
Rank 1
 answered on 24 Apr 2009
2 answers
668 views
I'm trying to access data programmatically (after it's already bound) and I'm not sure where to start (I'm very new to Telerik Reporting).  I know from within the report designer I can use Fields.[FieldName] to access a specific column from the current row being displayed; what I'm looking for is something equivalent I can access programatically.

The reason I would like this capability is because I have to dynamically create different Textboxes in my detail section, since different records require a different layout.  I was unable to find what I'm looking for in the documentation or by searching (perhaps I just don't know the correct terminology), so any help is appreciated.

Thanks!
turntablistlp
Top achievements
Rank 1
 answered on 24 Apr 2009
1 answer
130 views
I am once again investigating a reporting tool for 2 projects that are currently underway.  I looked at Telerik Reporting a while back, I loved it, but the way that Page Headers were handled was a deal breaker.

According to the "Understanding Report Sections" docs:

"It is possible to suppress the printing of the Page Header section on the first and last page of a report."

Is it still the case that even when printing is suppressed on the first page, the white space corresponding with the size of the section still exists? 

Thanks,
John
Steve
Telerik team
 answered on 24 Apr 2009
1 answer
111 views
Hello,

Is there any way to export a report in swf format, or at least to integrate a pdf file into a swf file? Has anybody such a problem?

thanks
Steve
Telerik team
 answered on 24 Apr 2009
2 answers
88 views
Hi,
I have a text that is to long to fit, is it possible to render it on two lines?
ChartSeries s = new ChartSeries(); 
s.Type = ChartSeriesType.Bar; 
ChartSeriesItem item = new ChartSeriesItem(); 
item.Name = "This text is way to long to fit!"
chart1.Series.Add(s); 

I think I have read it somewhere but I cant find it now!

/Mattias
Steve
Telerik team
 answered on 23 Apr 2009
1 answer
265 views


I've followed along with the video at http://tv.telerik.com/reporting/video/telerik_trainer_-_reporting_subreports.  This is basically the way I have created all of my Master-Detail reports.  I use a ReportParameter/Filter combo on the subreport and a corresponding parameter on the master report.

However, on one report in particular it is very, very slow.  Sixty seconds.  That's painfully slow to me.  The master report lists on the most basic fields from a Driver's record:

SELECT id, firstName, middleName, lastName, phone1, phone2, phone3, city, experience, endorsements, class, quality, hired, applied   
From  vw_dmsDriver  
WHERE (Assigned=0) AND (AvailabilityID = 1) AND MarketId=1 

The subreport contains all the individual notes for that driver from a related table:

SELECT [Value] 
      ,Username 
      ,DriverID 
      ,[TimeStamp
  FROM vw_dmsDriverNotesPrivate 

I don't know the ins-and-outs of what's going on behind the scenes, but I really don't think it should take that long.

So I was then reading this: http://www.telerik.com/help/reporting/designing-reports-master-detail.html, and it pointed me to this video  http://tv.telerik.com/reporting/video/Telerik_Reporting_-_Design_Time_Support_for_Parameterized_Queries.  I thought this might enable me to get a little better performance out of the report by passing parameters to the DataAdapter's SelectCommand, rather than using the ReportParameter/Filter.

Unfortunately, the example code at the bottom of the http://www.telerik.com/help/reporting/designing-reports-master-detail.html doesn't seem to work.

Running a report for either of these queries separately, is near instantaneous.  It almost seems to me that the subreport is loading every record and ignoring the parameter, and then applying the filter after ALL records have been returned, but what do I know?

Any advice would be appreciated.  If there is any other detail I can provide, please let me know.
Steve
Telerik team
 answered on 23 Apr 2009
2 answers
465 views
Hello All,
Maybe this question was already asked, but I couldn't find proper answer about this.
I have a generic list of some object ( List<Companies> myCompanies ), and Companies class have new collection as a member ( List<Employess> myEmplyes). I have a problem how to display this embedded list of employees. I added subreport, but then I can't pass proper parameters in runtime to subreport.
Can anyone help me?
Thanks,
Andrija
Andrija
Top achievements
Rank 1
 answered on 23 Apr 2009
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?