Telerik Forums
Reporting Forum
1 answer
99 views
Hello everyone,

I am trying to pass some ReportParameters to a report class that I´ve created.

I´ve got the following set up:

Created Report Class as per Telerik best practices.
Created 2 parameters. one called CMU the other AlarmType.

On .net web app, I´ve got a set of drop down lists that should be used to filter the info required.

I´ve got a ReportViewer1 that calls the "Reporting" class.

On my code behind, I´ve got the following:

Dim Report As Telerik.Reporting.Report
Report = New RDC_Reporting.reporting
 
 Report.ReportParameters.Item("CMU").Value = cmu_instances.SelectedItem.Text
Report.ReportParameters.Item("AlarmType").Value = "YELLOW"
 
ReportViewer1.RefreshReport()

The ReportParameters in my Report class are set to not accept null, so that i know If the value is being passed or not.

In my web app, the given values ARE accepted apparently, as no error is being thrown at the moment the values are fed, however, when the Report regenerates, it says "

Invalid value of report parameter 'CMU'.


If i set the paramter to accept null values, it simply shows the report, but with no results.

Any help?
Elian
Telerik team
 answered on 08 Nov 2011
4 answers
396 views
Hello everyone

I started using telerik reporting this week and it's great. But I'm little stuck because of lack of knowledge and little time left to do my tasks.
I have a multiple select dropdown list report parameter and i want for every selected item in the list to create detailed report coresponding for that selected item, and every detailed report to be in one different page. What should i do, any hint or guide will be great. 
Thanks very much :)
Peter
Telerik team
 answered on 08 Nov 2011
5 answers
136 views
I'm using report in silverlight, when I enter the page number in the box and hit enter key, nothing happened, the page is not refreshed. but this is working in asp.net, how to make this work in silverlight too?

thanks
Steve
Telerik team
 answered on 08 Nov 2011
4 answers
215 views
hello


i am getting an error in my report-viewer page because the objects used for datasource use IList which does not implement ISerializable.

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.


i am using state server for sessionStates

how can i use state server and a hierarchy of entities as datasource?

regards
Shawn Krivjansky
Top achievements
Rank 1
 answered on 07 Nov 2011
3 answers
279 views
How can you change the language of the ReportViewer interface in Silverlight?

I am not talking about globalization of my reports, only changing the interface language of the ReportViewer with a translation for the labels such as "of x pages", "rendering report", ...

Jim
Steve
Telerik team
 answered on 07 Nov 2011
1 answer
113 views
Hi guys,

I am having an issue with charts, I haven't been able to find any specific documentation on this.
I am using the wizard - the chart works, but it seems to display a number sequence on the x-axis (1,2,3,4 etc) rather than the dates I want.

I've tried a SQL CAST to make the dates into VARCHARs and also as FLOAT in my datasource, but this doesn't seem to change anything.

Where should I be setting this up?

Thanks,
 Ed
Steve
Telerik team
 answered on 07 Nov 2011
0 answers
75 views
Is it possible to define (and apply) the rules for conditional formatting programmatically?

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 asked on 07 Nov 2011
2 answers
411 views
I have a subreport that looks like this:

Fields.AuthorName    Fields.Subject
                                  Fields.Note
                                  Created: Fields.CreateDate        Last updated: Fields.LastUpdated

I would like the textbox holding Fields.Subject and Fields.Note to grow as necessary and push the CreateDate and LastUpdated and their labels down the page.  Right now I am concentrating on the Note field.  Note has CanGrow, TextWrap, and Multiline set to True.
 
When there are multiple lines in the Note, only 2 lines show, the rest are cut off.  I have tried setting the Anchor property on Note to Top, Bottom, Left, Right and the Anchor property on the CreateDate and LastUpdated fields and their labels to Bottom, but this doesn't seem to do much.

I also tried putting the AuthorName and Subject fields in a group header and the CreateDate and LastUpdated fields in a group footer so that the Note field is the only thing in the detail section.  I tried this both with and withoutt the Anchor property on Note set.  The behavior is the same, even though there isn't even anything in the section for the Note textbox to push against.

It seems like what I am looking to do should be possible, but I haven't found much help with this in my searches on the site.  Does anyone know how to get a textbox to grow and push down what's below it?
Brian
Top achievements
Rank 1
 answered on 07 Nov 2011
6 answers
270 views
Hi all

I'm looking for a way to set the bindings for the reporting-service (in a Silverlight application) on the fly rather than declaring them in the web.config. The reason is that I use these reports on http and https sites depending on the client.

I did that before with WCF services, but I can't figure out where to instantiate the bindings for the reporting-service ...
Steve
Telerik team
 answered on 07 Nov 2011
1 answer
107 views
Hi,
We are developing a report consisting of some tables and charts, and were wondering if it's possible to display two stacked bard charts side by side. eg. Display and compare sales and profit for different categories of two companies.

Is there a stackgroup option available as there is for the silverlight charts?
If not how would we develop the reports to show the charts that we require?

I have been searching on the forum and have read that it's not supported but they are old posts from last year and i'm hoping that it has changed.
Steve
Telerik team
 answered on 07 Nov 2011
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?