Telerik Forums
Reporting Forum
2 answers
131 views
I am using q2 2011 telerik reporting for silverlight apps.
in access to data by object data source I can only access to properties of my main class(that defined by set and get) and I can not access to other public methos, why?I have a created class with some public method(c#) and no any property(set get ...) , when I connect to the "list" type class of this class I can not see the public methods but if I create a property(by set and get) I can see that properties! .Is any way for accessing to public methods? Thanks.maniaqrzep@yahoo.com
M
Top achievements
Rank 1
 answered on 11 Mar 2012
0 answers
138 views
Hi,
Sorry if this is a newbie question, but I need to change the database schema depending on the customer login.
We have a multi tenant Saas application and I want to use a standard set of reports for all customers.  We are using a single database separate schema database approach.
Specifically I need to know if or how I can change the schema for each report depending on the customer.
Thanks for your help on this,
Andy
andy
Top achievements
Rank 1
 asked on 10 Mar 2012
1 answer
147 views
HI,

I'm attempting to create a report for a silverlight client using the Silvleright Reporting Service proxy class, in particular the RenderAsync method which takes a NameValueDictionary as the report parameters. My problem is that when I add a parameter in with the key "reference", and call the method for a particular report (which resides in the WCF application housing the Reporting Sevice, the passed parameter does not populate the corresponding parameter value in the report.

If the parameters created in the report are not meant ot be automatically popualted using this method, how can I retrieve the passed in parameters? I have a breakpoint in the constructor of the reporty I am trying to generate and I want to call a method to populate an object DataSource using the passed in parameter.

Kind Regards

Ben
Peter
Telerik team
 answered on 09 Mar 2012
1 answer
282 views
Our reports use the non-standard font "Helvetica Condensed" and on our development environment (Windows 7) generated PDFs have the font embedded as "HelveticaCondensed" and display correctly, I can also copy-paste from the PDF to Word and the font is maintained.

On our server (Windows Server 2008), the font IS installed and generated PDFs have the font embedded in the same way, but viewing the PDF the font is actually Arial. Also copy-paste from the PDF to Word, the font name is "HelveticaCondensed" (without any space) and shows as Arial.

The corporate policy dictates use of this font so it is very important that the PDF renders correctly.

Also, is there a way to get a custom font like this to display in the Silverlight ReportViewer on users machines that do not have the font installed?

We are using Telerik Reporting Q3 2011

Thank you.
Elian
Telerik team
 answered on 09 Mar 2012
3 answers
136 views
Hello,

I am tryng to develop a tag report, at design time i see 3 columns of labels connected to database; the first one column to design the template of label and columns 2 and 3 as well.

Whe i switch to preview just one column were rendered, and in the interactive mode three columns are there.

But in none of the cases the three column prints, just one.

Any ideas?

Thanks

Gilberto


Steve
Telerik team
 answered on 09 Mar 2012
8 answers
130 views
Hi,

I´ve updated the telerik DLLs for Silverlight RadControls and Reporting.
Opening a Report results now in a XamlPaseException telling me that the Type "TextBoxEx" is missing.
So whats wrong here?
Steve
Telerik team
 answered on 09 Mar 2012
6 answers
295 views
I have a parameter with Multivalues. I would like the parameter do default to Select all and have therefore implemented a AllValue function (as shown in another post in this forum) to set the Value property. This works very well as log as the value only has unique values. Example:

SELECT

 

fullname FROM employee


value=AllValues(fields.fullname)

This works wothout problem.But if I get the value from a table that contains the same value more than once I got problem. Example:

SELECT

 

activity.startdate,employee.fullname FROM activity INNER JOIN employee ON activity.employeesignature=employee.signature
value=AllValues(fields.fullname)

The result of this is that the parameter is shown with the unique values and all values is selected. But, if i deselect all, only some items is deselected. And if I click on the others they could not be deselected at all.
The problem occurs to be that the second example could result in several rows with the same value in employee.fullname. OPnly the rows that have only one row with the same value is handled correctly.

So, how can I solve this problem?

R
Torbjörn 

Steve
Telerik team
 answered on 09 Mar 2012
1 answer
62 views
I am creating a set of reports, each with 1-2 charts.  How do I set the title at run time using the reportviewer?

Sample of my aspx code:

 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Dim report As New MyReports.RevByOffice
            ReportViewer1.Report = report
        End If
End Sub

I am using Reporting Q3 2011.  Once I have all the reports designed, then I will put all the reports into a ReportBook.
Steve
Telerik team
 answered on 09 Mar 2012
2 answers
103 views
I have created a reportbook which shows sales information at the highest level of a client. If a client-structure contains several departments, a sales report for each department is created, and will be added to the reportbook.

The structure of a client is stored outside telerik, in an AD-database. The parameters are passed to the report in the code-behind (department is item in a list of departments items):

foreach (var item in items)
{
    RptAnalyseOmzetTotaal rptAnalyseOmzetTotaal = new RptAnalyseOmzetTotaal();
    rptAnalyseOmzetTotaal.ReportParameters["customer"].Value = item.TrimStart('0');
    rptAnalyseOmzetTotaal.ReportParameters["year"].Value = year;
    rptAnalyseOmzetTotaal.ReportParameters["periodFrom"].Value = periodFrom;
    rptAnalyseOmzetTotaal.ReportParameters["periodTo"].Value = periodTo;
    reportBook.Reports.Add(rptAnalyseOmzetTotaal);
}

The problem is if a department doesn't have sales for the asked period, an empty report is added to the reportbook.
I need to do a check if a department contains data. Does the report-class rptAnalyseOmzetTotaal have a method to check if it contains data for the given parameters?

I'm using Reporting Q1 2012 in a Umbraco Portal.
Peter
Top achievements
Rank 1
 answered on 09 Mar 2012
1 answer
188 views
I can't find this anywhere.  Your help is appreciated.

I want to change the font and color of the series item label in my chart.  The properties all seem to be exposed as I have changed every font in the chart so far except this label.

I have tried it several different ways in the code behind as well with no luck.

I can go in and set it via properties, series collection, items but that does not display in the report (just the VS preview).  I am databinding in the code behind in new:    Chart1.DataSource = _ds.Tables(0) 

Suggestions greatly appreciated.

Private Sub Chart1_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles Chart1.ItemDataBound
    Chart1.Series(1).Appearance.TextAppearance.TextProperties.Color = Color.Red
 
    Dim myseries As ChartSeries
    Dim myitem As ChartSeriesItem
 
    For Each myseries In Chart1.Series
        myseries.Appearance.TextAppearance.TextProperties.Color = Color.Red
 
        For Each myitem In myseries.Items
            myitem.Label.TextBlock.Appearance.TextProperties.Color = Color.Red
            myitem.Label.TextBlock.Text = "xxxx"
        Next
    Next
 
 
End Sub
Steve
Telerik team
 answered on 09 Mar 2012
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?