Telerik Forums
Reporting Forum
1 answer
97 views
In a form I set up this expression:
=sum(iif(Fields.Showcode<>'06',Fields.TotalAmount,0))

To my surprise, a TotalAmount of 13.95 was displayed as 14.00

We discovered that changing the expression to:
=sum(iif(Fields.Showcode<>'06',Fields.TotalAmount,0.00))

produces the proper result. It looks as if the first time the expression evaluates false, the data type of the calculated field is set to the intrinsic type of the else-value, which in this case would be 'int'.
Hrisi
Telerik team
 answered on 23 Jul 2010
2 answers
93 views
Hi,

I created a Telerik Report in a class library, as the video tutorial instructed.  I tested it and it works fine.

I added another project, an ASP.NET project to the solution, and added a reference to my class library where the report lives.

I created a page, and put a Telerik ReportViewer control, setting the report to the one I created in the class library.

When I first run it, I get an error saying it cannot map to "\".

I re-ran Visual Studio as Administrator (begrudgingly), and this error dissapeared.  I do, however, get a different error:

An error has occured while processing Report '':
Unable to 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 settings are present in the configuration file of your application.

I check app.config, as well as Settings.settings, and the connection string is there.  And of course, the fact that the report runs fine when previewed in the class library tells me that something is fishy.

I'm using Visual Studio 2010, and the ASP.NET Development Server.

Thanks.
Aaron
Top achievements
Rank 2
 answered on 22 Jul 2010
2 answers
91 views
I just installed Reporting.  I went into VS2010 to create a new report in an existing project.
The error I got was: "The designer could not be showed for this file because none of the classes within it can be designed..."

If I open the code, Visual Studio says it can't find "Telerik.Reporting".  There is a reference to Telerik.Reporting in the project.

I don't know if it makes a difference, but I am using 2008.3.1314.35 of the Telerik.Web.UI tools.  Also, reporting works fine in VS2010.

Thanks!
Kevin
Top achievements
Rank 2
 answered on 22 Jul 2010
3 answers
203 views
Please could you provide such example cause i can't finish deployement by myself, and using you're example i would be shure everyting is done right and reports can be used in Silverlight 4 under VS2010. It would be great if you could add it to examples and provide link for it. 10x in advance!
Peter
Telerik team
 answered on 22 Jul 2010
2 answers
99 views
hi guys,

i'm wondering, why the Telerik report designer, when i have an error or warning regarding the layout design,
doesn't give me any message? just a yellow triangle with a question mark? what am i suppost to do when i get this?
how do i know what is wrong?

second thing, is there a way to translate the text in the toolbox that says: "[0] of 0 Pages" ?
and translate the text in the button that say "preview" when i use visible parameters?

thanks.
Peter
Telerik team
 answered on 22 Jul 2010
1 answer
324 views
I'm trying to do some conditional formatting and I want to use an enum from my datasource. What should the value look like? When I uses a string as value, it says that it cannot compare "enum" and string.

Best regards,
Michael
Ivan
Telerik team
 answered on 22 Jul 2010
5 answers
421 views
Hi,

   I have a main report with 8 sub-reports.

   I even checked the KB article on Telerik Reporting renders blank pages, All my main report and sub-reports widths are within the page space. I don't even have crosstab to make data to go beyond right. I have only text and tables which are fixed width fitting within page space. I'm using empty group in my sub-reports in order to have different page header for each sub-report.

  Major thing i have is, many panels in each sub-report. Depending on the data, few panels are made invisible. When all the panels are made visible, i don't have any issues. i don't see any blank pages.  But when few panels are made invisible, i get blank pages. blank pages with just the groupheader section is shown.

  I've tried with KeepTogether = True and False for the report sections, but of no use. is there anyway to fix it?

Thanks in advance.
Peter
Telerik team
 answered on 22 Jul 2010
3 answers
350 views
Hi , Telerik!
    I have a small question: how  can i refresh a report in Silverlight ReportViewer programmatically?
Igor
Top achievements
Rank 1
 answered on 22 Jul 2010
4 answers
205 views
hi

is it possible to set the position of an item with a value from the database?
we want to let the users set where the logo and the address block is positioned.

I tried this but it does not seem to work:

Me.HtmlTextBox1.Location = New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(CDbl("=Fields.Settings_List_AdresseX"), Telerik.Reporting.Drawing.UnitType.Cm), [...])

With (for testing)
SELECT [...], 10 AS Settings_List_AdresseX FROM  [dbo].[...]

Thanks for help
Fridli Jacober
Top achievements
Rank 1
 answered on 22 Jul 2010
1 answer
300 views
Hi,

   Howcome telerik does not support nested aggregate functions?
   I need to use Min(Sum(Fields.Value)) in a crosstab detail section. How can i achieve this?

Thanks,
sivam
 
Chris Gillies
Top achievements
Rank 1
 answered on 21 Jul 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?