Telerik Forums
Reporting Forum
0 answers
105 views
When i am trying to create a subreport, it is starting from next page instead of the first page even though i have enough space on the first page.
Is there any property or setting which would allow the subreport to continue from same page?
Saurabh Nandu
Top achievements
Rank 1
 asked on 25 Mar 2011
0 answers
121 views
Hi,
Im new to telerik.reporting
and im trying to load my dataset and binding in report, but im not able to see any data in viewer.. these are the below steps im doing..

.aspx page

 <telerik:ReportViewer Width="100%" Height="100%" ID="ReportViewer1" runat="server" ></telerik:ReportViewer>

.aspx.cs

protected void Page_Load(object sender, EventArgs e)
        {
            Telerik.Reporting.Report report1 = new Telerik.Reporting.Report();
            report1.DataSource = GetDataset();
            ReportViewer1.Report = report1;            
        }

        private DataTable GetDataset()
        {
            DataSet ds = new DataSet();
            DataTable dt = new DataTable();
            DataRow dr;

            DataColumn id = new DataColumn("ID");
            DataColumn name = new DataColumn("Name");
            dt.Columns.Add(id);
            dt.Columns.Add(name);
            dr = dt.NewRow();
            dr["ID"] = 1;
            dr["Name"] = "Jeyaraman";
            dt.Rows.Add(dr);
            dr = dt.NewRow();
            dr["ID"] = 2;
            dr["Name"] = "Axiom";
            dt.Rows.Add(dr);

            ds.Tables.Add(dt);
            return dt;
        }

Plz guide me to fix the issue...

Thanks in advance
Jeyaraman.S
jai
Top achievements
Rank 1
 asked on 24 Mar 2011
2 answers
1.1K+ views
Hi,
I have a stored procedure that is creating a temp table to get data from, temp table is required because of some complex logic with different tables involved in data fetch.
I am having a probem of no columns listed in data view on design time, while using wizard after fetching data in sqldatasource.
When trying to build a datasource using the stored procedure, After successfuly fetching data in data source and finishing fetch process when wizard try to start report design steps, I get error as
http://screencast.com/t/lG0QjXLZ
Error Message: 'Invalid object name '#temptablename'.'
In order to design report (drag and drop to work properly in the report design), I need the data view to show all the columns return by stored procedure to show the columns currently it does not because it obviously does not understand temp tables.
I don't know but once data is returned by the stored procedure, should not it cache that data for design?
OR else i have to create some real tables for design time support (it will require a lot of overhead work as i have to change so many stored procedures) and once report designing is done and use temp for run-time only?

Regards
Richard
Top achievements
Rank 1
 answered on 24 Mar 2011
1 answer
87 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
85 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
214 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
113 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
88 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
147 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
88 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
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?