Telerik Forums
Reporting Forum
1 answer
109 views
Hi,
I have HtmlTextBoxes in various areas in my reports/subreports and they show up rendered completely fine in the report viewer. However, when I export to PDF or RTF they show up as plain text with the markup visible. Is this just a limitation of this product or is there something I'm doing wrong. The text is just say wrapped in tags that your documentation says it's supposed to support (e.g., OL, LI, and EM).   I appreciate any help you can offer.
Thanks!
Steve
Telerik team
 answered on 24 Mar 2011
2 answers
136 views

Partial Public Class Example
    Inherits Telerik.Reporting.Report
    Public Sub New()
        InitializeComponent()

        init()
    End Sub

    Public Sub init()
        Dim dt As New DataTable
        dt.Columns.Add("index")
        dt.Columns.Add("premium")

        For i As Integer = 1 To 50
            Dim dr As DataRow
            dr = dt.NewRow
            dr.Item("index") = i.ToString
            dr.Item("premium") = i.ToString + "元"
            dt.Rows.Add(dr)
        Next

        Crosstab1.DataSource = dt

        Dim filter1 As New Telerik.Reporting.Data.Filter()
        filter1.Expression = "= RowNumber() mod 5"
        filter1.Operator = Telerik.Reporting.Data.FilterOperator.Equal
        filter1.Value = "0"

        Dim item As New FormattingRule
        item.Filters.Add(filter1)
        item.Style.BackgroundColor = Color.Yellow

        TextBox4.ConditionalFormatting.Add(item)
    End Sub
End Class

1.According to the code ,my first question is why i set the datasource of Crosstab1,it only show the first row in the datatable?the datatable has 50 rows
2.My second question is why the ConditionalFormatting doesn't work on my reporting,i have already set the FormattingRule,but it still not work
Remark:I use telerik-2010-Q1 package

Please tell me how to do under telerik reporitng?or it's bugs?thank you!

Svetoslav
Telerik team
 answered on 24 Mar 2011
3 answers
263 views
I have a table with a textbox that's with an angle of 180.  I would like the table to print the rows from bottom to top instead of top to bottom so the layout doesn't change when the table expands (instead of expanding down, I want it to expand up).  Because the table is expanding down instead of up, it's causing items to go to the next page that are at the bottom of the report under the table.  I tried working with Anchor and Docking, but couldn't seem to get this working.  How could this be resolved?
Milen | Product Manager @DX
Telerik team
 answered on 24 Mar 2011
0 answers
170 views
The modal dialog, I think the grouping expression editor, is stuck off screen.

Had a second monitor hooked up, now I'm working from a laptop.

Resetting Visual Studio settings via the Tools menu, resetting all windows via the View menu and re-installing Telerik with a full reboot didn't help at all.

Is there a way to reset just the telerik options or reset the view positions? 
John
Top achievements
Rank 1
 asked on 23 Mar 2011
1 answer
120 views
Ive just added a new objectdatasource to a viewmodel which exposes a Timespan? and received the following error when trying to preview the report:

Exception has been thrown by the target of an invocation.
InnerException
There is no store type corresponding to the conceptual side type 'Edm.Time(Nullable=True, DefaultValue=,Precision=)' of PrimitiveType 'Time'

oops
Hrisi
Telerik team
 answered on 23 Mar 2011
2 answers
180 views
Hi,

I have a master-detail report of customer invoices summary (masters) and then related payments per invoice (detail).

This forms the customer statement.

I want to be able to run this report so that if the users selects all customers it prints out the reports for each customer on separate page. Right now the only way to do it is to go to each customer and print his report which first prints to screen and then I have to select the printer to print it.

I need it automated such that if more than one customer is selected it prints the reports directly rather than displaying on screen and then automatically cycles through all customers to print them.

Any samples or ideas on this.

Thanks,

Ads
Massimiliano Bassili
Top achievements
Rank 1
 answered on 23 Mar 2011
2 answers
118 views
Is it possible to re-order Group possitions Programmatically

I have 3 groups i would like to change the order of the groups before the report is loaded into the report viewer

Thanks
Jamie
Top achievements
Rank 1
 answered on 22 Mar 2011
2 answers
389 views
Is there a way to control the number of rows per page so i wont have the scrolling?  Thanks.
ethan
Top achievements
Rank 1
 answered on 22 Mar 2011
3 answers
185 views
Hi,

I am looking to integrade your reports for Silverlight into my application. I wend through all your examples and they have one thing in common, all reports are binded to datasource permanently and you can only send parameters from within ReportViewer component.  Here what I need:

1. Before opening report on the client side, I need to send some parameters to the server.  Based on these parameters, I will generate a set of data objects (i.e. IEnumerable or other collectable object) and bind it to the report, so that only this data is returned to the client side.  How do I achiev this?
1.a. Alternatively, if I could return only the report template to the client and separately I could get a list of data objects from the service.  Then bind it to the Report Viewer on the client side.
2. How do I protect my service from illigal use?  Here is a simple example.  If I want to call some method from the service, one of my parameters can be a password.  When service receives a call, I evaluate that parameter, if it matches the password, I return the result.  This prevents someone designing a silverlight program which connects to my service without know this password.  How does it work with your reports?  What stops someone creating a silverlight application with your ReportViewer, connect to my service and retrieve all data?
Peter
Telerik team
 answered on 22 Mar 2011
0 answers
137 views
Hi,

I have a report in an ASP.NET website that uses an SqlDatasource with stored procedure to get the data I require.
I create a pdf from the report on runtime, and what I'm trying to do is change the connectionstring on runtime.
I know I can add code to the constructor to get the connectionstring from the web.config, but this requires a fixed connectionstring name, and I don't want this.
I also know the Datasource is accessible, but I don't want to set the datasource, just the connectionstring
So what I'm looking for is a way to pass the connectionstring to the report somehow.
As a parameter won't work, however, since the parameters aren't set yet when the constructor is called.

Any ideas?

CJ
AnneArents
Top achievements
Rank 1
 asked on 22 Mar 2011
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?