Telerik Forums
Reporting Forum
1 answer
100 views
Hello, I'm thinking of migrating a desktop solution I have, silverlight, and the problem is that I have some reports in crystal, and I have not embedded, it is well to the changes do not have to compile the application. the question is, if I use the solution you have for the reports, I can not have them embedded, or is this not possible?
Thanks

Steve
Telerik team
 answered on 18 May 2010
1 answer
105 views
Hi,

I am trying to show a caculate result in a specific format in the group footer row.  If I only format a single aggregate value, it works fine but a double parameter does not work.  I get the error message "An error has occured while processing TextBox 'textBox5':
The expression contains undefined function call GetTimeString2()"

So basically if I do this
=GetTimeString1(Sum(Fields.Hours))
or I do this
=GetTimeString1(Sum(Fields.Minutes))
it works fine, but if I do this

=GetTimeString2(Sum(Fields.Hours), Sum(Fields.Minutes))
it does NOT work and I get the above error message and even if I try this
=GetTimeString2(Sum(Fields.Hours), 40)
it does NOT work, but this will work
=GetTimeString2(2, 40)

So basically if there is an aggregate, one or many doesn't matter, it will not work.

the static function signature are
=========================
public static string GetTimeString1(int hrs)
public static string GetTimeString2(int hrs, int mins)

Can someone point out why it won't take two aggregates in the function.  I looked at the limitations post and it does not look like this is a limitation.

Thanks for your assistance.
- Mans.
Peter
Telerik team
 answered on 18 May 2010
3 answers
101 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
285 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
113 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
157 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
588 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
238 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
196 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
310 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
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?