Telerik Forums
Reporting Forum
1 answer
109 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
412 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
158 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
326 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
91 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.1K+ 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
1 answer
278 views
Hi,
I have a telerik report with checkbox column(Tabular Design), designed by using table wizard. The horizontal row line is not shown only in the checkbox column. Why?. Find the attachment.



Thanks & Regards
Anzar.M
Petio Petkov
Telerik team
 answered on 05 Apr 2013
2 answers
269 views
I'm getting some extra pages when I export to Word.

I was getting this previously when an item exceeded the width of the page, but I cannot identify this as the existing problem.
When I change the background color of items to see if any exceed the page width, it appears that the item may calculate too wide, but renders within the page width so the finished rendered product is correct, but the extra page break has already been triggered.

I have a bunch of tables that are stacked (about 12) and some do not render because they lack content on specific loop iterations.  
I apply a post init cleanup that re-stacks the tables so that they are right on top off each other but stepped by a couple pixels so they will display properly by auto growing without extra white space when a table isn't rendered.

This issue does not happen when exporting to PDF, RTF or when I change the page width, but the vertical padding is different so I'm assuming its how the Height is calculated from the Auto Grow.
Steven
Top achievements
Rank 1
 answered on 05 Apr 2013
2 answers
92 views
Hi, 

I'm consulting a table from my DB with 500 registers, but in my report viewer only show 2 pages. How I can configure to my report viewer show all items?

I'ts my source code:


        private void carregareRelatorio()
        {
            Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();

            uriReportSource.Parameters.Add("Empresa", Session["Empresa"]);
            uriReportSource.Parameters.Add("Status", Session["Status"]);
            uriReportSource.Parameters.Add("DataInicial", Session["DataInicial"]);
            uriReportSource.Parameters.Add("DataFinal", Session["DataFinal"]);
            uriReportSource.Uri = "RelatorioBeneficiarios.trdx";

            rwBeneficiarios.ReportSource = uriReportSource;
        }
Ricardo
Top achievements
Rank 1
 answered on 04 Apr 2013
1 answer
285 views
hi ,

I have to display the report in telerik report designer standalone , with multi value for parameter i have passed multi value in report parameter editor with data type string and it has subreport i have given here also as string type, but when i preview the report it s showing the error as "input value for parameter is incorrect". How to resolve this ,


and my requirement is ,

when i selected multiple in parameter dropdown
 report has to display as ,
Example,

Parameter 1
table 1
table2
Note : Parameter 1 has to bind with table 1 and table 2
Parameter 2
table 1
table 2
Note: Parameter 2 has to bind with table1 and table 2

Please help,

Thanks in advance
Petio Petkov
Telerik team
 answered on 04 Apr 2013
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?