Telerik Forums
Reporting Forum
4 answers
255 views
I have created my my reports for a WPF application we are in the process of creating. Reports run fine and all parameters are visible and usable by the client. They requested a similiar window frame from our app that would encapsulate the the report window. No problem. I added the same custom features(Borders and whatnot) around the window with no problem. Reports ran fine and everything. The problem then comes that the color scheme of the ReportViewer in WPF is gray and it was requested to be black. Though there is a public property to define the background in XAML it does nothing. I went into Blend again and adjusted the template for the ReportViewer (default was No Brush) and was able to change the border background to the desired color gradient scheme.

The REAL problem is that when I change the default template for the ReportViewer to a new DynamicStyle using my new styles all parameters become hidden. All reports with no paramaters run as desired, but any report that uses a parameter(s) hide the Date Calender, or the drop down menu from the user. What needs to be done to change the ReportViewer look and feel and STILL maintain the parameters for usage?

Any info you could provide would be greatly appreciated.

Tom

Charlie
Top achievements
Rank 2
 answered on 16 Sep 2011
1 answer
103 views
I have a report which binds to a Dataset.  Dataset loads an xml file which sometimes doesn't contain all elements (if user didnt specify any data for those elements).  If an element such as 'Name' is missing I will receive "An error has occurred while processing TextBox 'Name': The expression contains object 'Name' that is not defined in the current context".  Instead I just want the report to leave the textbox blank if the binding fails.  Is it possible to somehow supress binding errors if the biniding element doesn't exist?
Thanks, Emil.
Peter
Telerik team
 answered on 16 Sep 2011
7 answers
328 views
When i export my report to MS Excel the image i placed in the report header is not visible,
it is visible in MS Word though, any help would be appreciated.
Peter
Telerik team
 answered on 16 Sep 2011
3 answers
80 views
I've tried a million times and I get the same issue. When I try the stepped layout I get a generation error that states "OBJECT WITH NAME 'Country' ALREADY EXISTS. OBJECTS SHOULD HAVE UNIQUE NAMES".  Yet the query IS bringing back unique names. I looked at the designer code generated and sure enough it is creating children with the same name, not sure why.
Hrisi
Telerik team
 answered on 15 Sep 2011
3 answers
134 views
When I use the save dropdown to save a report in a format such as excel, the drop down data continues to show even after the report has been saved.  The only way to get rid of it is to close the window.
Chavdar
Telerik team
 answered on 15 Sep 2011
1 answer
85 views
I'd like to subtotal  items based on a boolean field in the datasource that is not being grouped on.  So my subtotal would look like:

= Sum(Fields.DemandAtMemberPeak) where Fields.Include = 1

if this were indeed the correct syntax.  It doesn't run and the sub-report just shows a a red box.  How would I create a subtotal that filters on another field in the datasource?

Thanks Much

Jonathan
IvanDT
Telerik team
 answered on 15 Sep 2011
3 answers
769 views
Hello,

I am developing dashboard reports using Telerik Q2 2011 tools. My question here is how to format numbers with commas (,) for easy reading in the axis appearance properties.

When I use 'Number' value format it shows the decimal places and that is ok for the actual decimal values (see Y-axis2 below image) but I also need to format with commas without decimal positions. E.G. 1,000.

Please see the Y-axis below and I need to use commas to format it. Please help. Thanks in advance.


Srilal
IvanDT
Telerik team
 answered on 15 Sep 2011
1 answer
150 views
Hello,

I'm just starting to work with Telerik Reporting along with OpenAccess and I'm running into some difficultly that I thought would be relatively straight forward using the two products together.  I'm sure I'm just missing something simple, but I just can't seem to figure it out.

I'm using an OpenAccess DataSource to build a report.  I can pull my object properties and the navigation properties representing my foreign key relationships from the Data Explorer to my report just fine.  However, I can't seem to figure out how to get data from the 1:1 or 1:M navigation properties that are represented as collections.  I've tried using the List control and creating a binding to the child object, but the following error shows up on my report when previewing:

"An error has occurred while processing Table 'list1':
The expression contains object 'MyChildObjects' that is not defined in the current context."

I've noticed in the Data Explorer that when I expand the child object none of the properties show up like when I expand an object representing a foreign key relationship.

I'm trying to pull one instance of the child object collection and include it in the report.  This could either be the first instance or based on some other logic (like a where clause).

Thanks for your assistance,

Al
Ivan
Telerik team
 answered on 15 Sep 2011
2 answers
199 views
Hi,
I'm trying to change the font color of the labels in the bar chart. Please see image here:

http://twitpic.com/6hduhh/full


Thanks in advance :)
awni
awni
Top achievements
Rank 1
 answered on 14 Sep 2011
3 answers
368 views
I am looking for a way to create either a report book or a report with several sub reports each of which have their own parameters. All my current reports are standalone and I don't use a report viewer. I am using the new sqlDataSource and setting the parameters in Public Properties like this:
 Public Property setSiteID() As Integer 
        Get 
            Return CInt(Me.SqlDataSource1.Parameters.Item("@SiteID").Value)  
        End Get 
        Set(ByVal siteID As Integer)  
            Me.SqlDataSource1.Parameters.Add("@SiteID", DbType.Int32, siteID)  
        End Set 
    End Property 
I pass the parameter from codebehind of a button like this:
Dim tF As New TelerikFunctions  
Dim strSite As String = ddlSite.SelectedValue.ToString  
Dim rv = New D007RwpSchedule()  
rv.setSiteID = strSite  
tF.ExportToPDF(rv) 'The class tf exports the report to pdf 
So I have several reports that my users have to print every week but they want to be able to just click one button and have all the reports print at once. My problem is that I doon't know how to pass parameters to the individual reports. Does anyone have a solution to this? Thanks for any help.
AkAlan
Top achievements
Rank 2
 answered on 14 Sep 2011
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?