Telerik Forums
Reporting Forum
3 answers
127 views
hello, i have made a simple project like in the video to test and start with telerik reporting in silverlight.
The problem is that the reportservice.svc is not running or can not accesed when its hosted in IIS.
On local machine the project runs correctly including the svc file. I checked webconfig and all other
relevant thinks but i didn't found a difference. On IIS i get a inner exception error 500 and the report
dosn't start. I searched also here or in help but i don't found a solution. How can i slove this issue ..
Also when i set a theme to reportviewer i get a xml runtime error. I installed latest internal build from
radcontrols and report (SL3).
Steve
Telerik team
 answered on 18 May 2010
2 answers
351 views
It is easy for WinForms:

reportViewer1.ShowPrintButton = false;
reportViewer1.ShowExportButton = false;

But how the same can be accomplished in WPF?

Show...Button properties are not available in WPF ReportViewer?

Thanks
taras
Top achievements
Rank 1
 answered on 18 May 2010
1 answer
139 views
Hi,
I try to undestrand telerik Reporting
I install Telerik_Reporting_2010_1_10_423_dev in VS2010 and I try to follow "TelerikReporting-LearningGuide.pdf"
in 3° exaple: Displaying Reports in a Viewer, when I try to run the project, my winform that contain the report load the interface, search the record in db but when finish I get this error:
"An error has occured while processing Report.
Unable connect to database. please verify that your connection string is valid; in case you use a connection string from the application configuration file,make sure the name is correct and the connection string setting are presente in the configuration file of your application"
when I use the preview in telerik reporting after create the report with wizard I see the record of my db
somebody have some suggestions?
thanks

 

Peter
Telerik team
 answered on 18 May 2010
0 answers
175 views

Hi,


I want to change the visibility of a group section at runtime based on an 'if' condition. Once the visibility set to true/false at runtime, it is not changing the visibility status. So I tried to change the height of the group section to 0 to make it hide. But it is not changing the height. I have tried it after the 'InitializeComponent()' and also in itemdatabinding and itemdatabound events. So how can I do it??


Regeesh Joseph
Top achievements
Rank 1
 asked on 18 May 2010
3 answers
666 views
I have a report that looks as follows in the detail section, with the X's being the equivalent of a single line "bar chart".

Sales             XXXXXXXXXXXXXXXXX     75%
Research      XXXXXX                            20%
IT                   X                                      5%


The report is already done and in production except for the "x's", which the customer has now requested.  I looked at charting which I had used for something similar when it first came out and that solution no longer works, and the data binding seems quite inefficient using  needdatasource for each instance for numbers I already have in the detail section

Is there a way to use conditional formatting to control the width of a textbox based off something like txtBar.Width = Fields.Pct x 2 ?

Joel
Top achievements
Rank 2
 answered on 17 May 2010
1 answer
272 views
Hello everyone,

I'm facing a problem with telerik reportviewer. I am adding a reportviewer to an ascx UserControl like so:

<telerik:ReportViewer ID="rpvIssues" runat="server" Width="100%" Height="100%">  
</telerik:ReportViewer> 

and I have a report named test.cs that only containts a simple textbox in the header section and another textbox in the detail section. Both values were hardcoded for testing purposes because I was facing this problem with a much more complex report. But for the sake of easyness I setup this example for you:

this is the a part of my teste.designer.cs auto-generated code regarding the above mentioned textboxes definition:
            //   
            // textBox1  
            //   
            this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.4000000953674316, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.4999997615814209, Telerik.Reporting.Drawing.UnitType.Cm));  
            this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9999997615814209, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000008344650269, Telerik.Reporting.Drawing.UnitType.Cm));  
            this.textBox1.Value = "DETAIL SAMPLE TEXT";  
            //   
            // textBox2  
            //   
            this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.2999999523162842, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.2000000476837158, Telerik.Reporting.Drawing.UnitType.Cm));  
            this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.0000002384185791, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.59999990463256836, Telerik.Reporting.Drawing.UnitType.Cm));  
            this.textBox2.Value = "TITLE SAMPLE TEXT"

Then, on the code-behind of my ascx control I setup my reportviewer like so:

        protected void Page_Load(object sender, EventArgs e)  
        {  
            teste t = new teste();  
            rpvIssues.Report = t;  
        } 
Being "teste" my report class.

Then I put my usercontrol inside an aspx page and when I launch the page using Web Development Server from MS Visual Studio 2008 all I get is an empty reportviewer. However, if I try to print the "blank" report, it prints everything as it should!! Both textboxes are printed correctly.

If I place a reportviewer directly on an aspx page then the reports are correctly rendered....
Anything I'm missing here when using a reportviewer inside an usercontrol?
Chavdar
Telerik team
 answered on 17 May 2010
3 answers
222 views
Hello,


I'm trying to create a document map with the same kind of grouping as in the report book demo: http://demos.telerik.com/reporting/report-book/demo.aspx.
I have three groups, which are shown in the attached groups.png file.
The documentation says "nested groups will create nested nodes in the tree". I've placed bookmarks on every group and on the detail section, but they are shown with no grouping at all. Did I miss something?

Thanks.
Carlos
Top achievements
Rank 2
 answered on 17 May 2010
1 answer
361 views
Whenever a word does not fit in its entirety it's not shown at all. Is there any way to get around this so as much as possible of the text in the TextBox is shown?
Peter
Telerik team
 answered on 17 May 2010
1 answer
307 views
Hello!
I have a report that contains a grouping section. I have a calculated field in the details section with the following expression: 
= IIF(Fields.VatTermID=3, Fields.Amount,0), so for every record that has Fields.VatTermID=3 the textbox displays Fields.Amount and for the other records that textbox remains 0. That works fine. However I want to make a total of those fields in the group footer. I tried 
= SUM(IIF(Fields.VatTermID=3, Fields.Amount,0)), but it doesn't work. What expression should I use to get the total?
Peter
Telerik team
 answered on 17 May 2010
2 answers
213 views

Hello,

 

Have a question about the maximum with of a report.

I’m exporting a Radgrid to a report with help of the RadGridReportingLite project.

 

The export works nice!

 

The only trouble is controlling the size of the report.

I would like to fit all the columns of the radgrid into one row in the report.

When the screen is maximized not all columns fit on the row in the report.  When I downsize the screen enough the all the columns fit into one row on the report.

 

The property FitToPageSize makes no difference

 

Anny suggestion on how to force the repport to show all the columns on one row.

 

Kind regards,

 

Tim van Rooijen

 

PS.

Sorry about my english, I’m dutch




Garrison
Top achievements
Rank 1
 answered on 15 May 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?