Telerik Forums
Reporting Forum
3 answers
181 views
I have the following code

aTable  as datatable = {getting some info}
Areport as new contactreport
Areport.datasource=aTable
Aviewer.report=Areport


There are two problems i found
1.I have showZoomSelect as true but no option for zooming
2.in the report itself, during detail_ItemDataBound, I have 

PictureBox17.Visible = False

the preview doesn't go there for the 1st row

but the printout (PDF) is fine

any suggestions?

Stef
Telerik team
 answered on 08 Apr 2013
3 answers
226 views
I understand that templates are new, and I thank Telerik for this welcome addition to the stand-alone designer. Here are a couple new ideas for consideration:

1) It doesn't look like there is a way to generate a .trtx via code. Until this changes, the process for deployment of new reports is similar to what it used to be: Load the report into the designer, export as template, then distribute the templates. Might there be a way to generate a TRTX from the command-line using an existing TRDX? Or perhaps even from a DLL with an embedded report?

2) In the designer, go to File>New and you see the list of Available Templates. Great. But close all documents and start on the Welcome page. Click New and there's no option to create a new report based on an available template. And click Open and there's no way to open an existing template. Given the plentiful amount of space on the Welcome page, I'm hoping a New from Template option can be added, and perhaps a Open Template option. As to what "opening a template" actually means, I'm thinking this would mean opening a template for modification, rather than creating a new report from a template, and then re-saving that with mods on top of an existing template. It's seems more elegant simply to open/save any given template.

3) The Recent Documents list doesn't include templates. It would be nice to be able to click a recent template to open it and create a new report from it.

4) Related: I think it would help if "Clear Recent Documents" gets changed to "Clear Recent Reports", and a new label button get added for "Clear Recent Templates". I can easily see someone wanting to remove all of the recent reports from the list without having to lose their recent templates from which they would create new reports.

Thanks.
Elian
Telerik team
 answered on 08 Apr 2013
2 answers
156 views
I have a report where I use shape objects (in this case lines) to visually separate items. I export to PDF immediately.  attached are screenshots before and after upgrade of the reporting components.  The report still  looks the same in the designer with the lines placed correctly.  Can you tell me what is going on? thanks.
Petio Petkov
Telerik team
 answered on 08 Apr 2013
3 answers
590 views
Hi everybody,

I have problem to make a report that my boss ask me to do.

It comprises 4 groups, the detail section, and the groups footers.

Into the detail section, there are a lot of textboxes whose values are calculated with expressions like this :

IIf(BooleanReturnedByAUserFunction(string field), aFieldOfDataSource, "+0")

The group above of this detail section comprises the same organisation of textboxes that the detail section.

Into these texboxes, I have to calculate the sum of the calculated fields of the corresponding textbox in the detail section.

It is possible with Telerik Reporting ?
If yes, i would be very grateful if you could help me.

Thanks and nice day.


Hadib Ahmabi
Top achievements
Rank 1
 answered on 08 Apr 2013
1 answer
138 views
Hi,
I prepared a report, and want to include it in a WPF window now. But to drag and drop the ReportViewer control, it is disabled in the toolbox as you can see in the picture attached.

I've included the references
Telerik.Reporting
Telerik.ReportViewer.Wpf
I tried selecting all Telerik Reporting references; it didn't work either.

What should I do now?
ವಾಸುಕಿ
Top achievements
Rank 1
 answered on 06 Apr 2013
4 answers
438 views
I need to calculate the rendered html font size in order to auto clean some content designed for full page width to fit nicely into a Multi-Column report.

I would love to invoke the private "MeasureContent" if I can instantiate my own context object.

Or some sort of HtmlTextBox.ToImage() to pull width/height from.


The problem is that there are an infinite number of possibilities generated from the horrific FREERICHTEXTBOX WYSIWYG control.  I'm using the HtmlAgilityPack to delete and merge redundant FONT tags so my end HTML is pretty tight.
I've also flattened the HtmlTextNodes into a List of Lists split by block level elements so that I can individual calculate the different rendered elements within each line to determine its width in order to shrink user defined padding "&nbps;" and input lines "______".

I was going to use the System.Drawing.Graphics.MeasureString, but I'm uncertain on how the FONT SIZE 1-7 becomes relative.
If the textbox fontsize is 11pt, or 1.2in, is the relative measurement type always in POINTS?

Thanks
Steve
Steven
Top achievements
Rank 1
 answered on 06 Apr 2013
1 answer
179 views
While Exporting from telerik report viewer to PDF some borders and data format is missed, while is working fine on the normal print preview and while exporting to XPS ?
Stef
Telerik team
 answered on 05 Apr 2013
6 answers
342 views
Hi Team Telerik!

I am working with one report that need print several tables with different information, respective to some query,  I need print the tables, i´m try use htmlTextbox but the table tag not is supported...

I´m trying from code c#, because from there I send parameters with other information to the .Trdx file
Some solution?

Regards
Brian
Top achievements
Rank 1
 answered on 05 Apr 2013
3 answers
101 views
Report run nicely on localhost but produced the following error message when we run on server (production). It happened after we upgrade from  5.3.12.119.

Could not load type 'Telerik.Reporting.Processing.ParametersManager`1' from assembly 'Telerik.Reporting, Version=6.2.13.110, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.

at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Please help
Petio Petkov
Telerik team
 answered on 05 Apr 2013
17 answers
1.2K+ views

Hello,

I have a Silverlight report viewer to render the report from a class library within the same solution as the Silverlight project, following your best practices guide for creating reports.

In general I need a report to connect to multiple database(s) based on user selected options in a Silverlight application.  I also have a Report Parameter which runs a SQL query on the database and returns a list of data that will be used to filter the report data. I’m having difficulty dynamically changing the connection string to the database, the report parameter still points to the initial database set during design time. It seems the report parameter can be accessed only in need_datasource event, but the report parameter needs this connection string to display the list of data that will be used to filter the report data.

 1)      Is there a way we could set reportParameter  AvailableValues.DataSource in the need_datasource event or dynamically.

2)      Is there a way to pass this connection string  into the constructor in order to set the reportParameter in the constructor. Setting the value here seems to work but I cannot pass a value into the constructor.

3)      Is there different design approach that we should be using?

Thanks for your help in advance.

Thanks,
James.

Hadib Ahmabi
Top achievements
Rank 1
 answered on 05 Apr 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?