Telerik Forums
Reporting Forum
1 answer
96 views
I'm using a ReportViewer in a SL3 application, identical to the TelerikTV tutorial, except that I'm placing the report in a RadWindow modal window that is resizeable by the user.  In the ASPX file, I am able to set the width to 100%, but the Height cannot seem to be set to 100% in the ReportViewer.  The issue is that I'm not able to get the vertical scrolling correct for the report in the RadWindow.  I'm using the HtmlPlaceholder to house the report.  The horizontal scrolling works great.  It's the vertical scrolling that I can't get to work correctly.
Chavdar
Telerik team
 answered on 02 Sep 2009
2 answers
145 views
hi,

i have a problem with the web report viewer. when i have too much parameters, the area where the parameters listed, doesn't change their height... so scrollbars appears and it looks really nasty

error pic

is there a chance to resize this content area, when there are more parameters??

sorry for my english ;)

greetz

Farouk
Top achievements
Rank 1
 answered on 02 Sep 2009
12 answers
429 views
Just upgraded to Q1 2009 trying to compile my web application I am getting this error message.
'Telerik.Reporting.IReportDocument' does not contain a definition for 'DataSource' and no extension method 'DataSource' accepting a first argument of type 'Telerik.Reporting.IReportDocument' could be found (are you missing a using directive or an assembly reference?)

I looked through the documentation and can't find an answer to this simple question:
How do I set the DataSource of the Report at run-time through code?
I used to use the ReportViewer1.Report.DataSource but it seems DataSource is no longer there. Please help.

Nate
Chavdar
Telerik team
 answered on 02 Sep 2009
1 answer
111 views
Hi

I have a master/detail report that I bind to a dataset.
The Master table, in the dataset, contains 10 rows, and the details table contains 100 rows (10 for each master row).

I'm trying to create a Telerik report that can print all 10 reports at once.
For some reason, the same master data gets printed on all my 10 reports.

What can I have missed ?

regards
Per
Per
Top achievements
Rank 1
 answered on 02 Sep 2009
0 answers
78 views
Dear Sir,
                     i Am Suriya ..  Now i have a doubt in the conditional formatting ... Now i am trying to  change the visible property  at the run time , so i have write the condition in the conditional formatting option in the group footer band.. but it showing error.. whats the reason... it is possible or not...
      reply me soon as possible



Thanks

By
Suriya narayanan S
Suriya
Top achievements
Rank 1
 asked on 02 Sep 2009
2 answers
133 views
I have a report that based on a very complex dataset.  If I run the select statement in the SQL manager on the hosting site I get the details needed to fill the report (which is working on my development machine also).

The report name is TSFinalPrint.vb and the vb code looks like this:

 

Try

 

 

Me.TSfinalprintDataSetTableAdapter1.Fill(Me.TSfinalprintDataSet.TSfinalprintDataSetTable)

 

 

Catch ex As System.Exception

 

 

'An error has occurred while filling the data set. Please check the exception for more information.

 

System.Diagnostics.Debug.WriteLine(ex.Message)

 

End Try

The TSfinalprintDataSet.xsd
shows the connection as TSfinalconnection(Mysettings) with the correct values (other features are using the same connection string and are working),  It shows the adapter as TSfinalprintDataSetTableAdapter and the dataset table as TSFinalprintDataSetTable.  Note that in the TSFinalPrint.vb InitializeComponent section it lists TSfinalprintDataSetTableAdapter1.  Is this correct?

The Web application runs fine and displays the report in the viewer but the form is empty.

I have gone over many of the videos and documentation and am not able to resolve this problem. 

If anyone can offer some assistance I would be thankful.

Cliff

 

Clifford Lane
Top achievements
Rank 1
 answered on 02 Sep 2009
1 answer
520 views

Hi,

I am having heaps of trouble converting an old report to one based on the new Table control.

On the old report I could create 'column' that incremented a number based on criteria of a DataItem. This used to be run against the detail.ItemDataBinding event. See example below:

    Private Sub detail_ItemDataBinding(ByVal sender As Object, ByVal e As System.EventArgs) Handles detail.ItemDataBinding  
        Dim detail As Processing.DetailSection = CType(sender, Processing.DetailSection)  
        Dim dataItem As DataRowView = CType(detail.DataItem, DataRowView)  
        'new project id  
        If m_CurrentProjectID <> dataItem("ProjectID") Then  
            'reset project total  
            If m_CurrentProjectID <> -1 Then IncrementInvoiceNo()  
 
            m_CurrentProjectID = dataItem("ProjectID")  
            m_CurrentClientID = dataItem("ClientID")  
            '  m_totalInvoiceCost += dataItem("TotalAmount")  
 
        ElseIf m_CurrentClientID <> dataItem("ClientID") Then  
            'reset client total  
            If m_CurrentClientID <> "" Then IncrementInvoiceNo()  
 
            m_CurrentClientID = dataItem("ClientID")  
            ' m_totalInvoiceCost += dataItem("TotalAmount")  
        End If  
 
        m_totalInvoiceCost += dataItem("TotalAmount")  
    End Sub 

  Now though, I am binding my data against a Prossessing.Table . i.e.

 Me.Table1.DataSource = l_dt.DefaultView 

Can I still get to the DataItems using the latest version of Reporting in a similar way to above using the Processing.Table ItemDataBound or ItemDataBinding events?

Cheers,

Damo.
Hrisi
Telerik team
 answered on 01 Sep 2009
1 answer
72 views
Is there a limit on the length of the select command text for the TableAdapter?

Is there an easy way to bind the report to a Stored Procedure without passing any parameteres (i am using vb)?
Svetoslav
Telerik team
 answered on 01 Sep 2009
1 answer
197 views
One can put their report parameters into a particaular sequence in the ReportParameter Collection Editor.  Then the report parameters are displayed in that sequence left to right in multiple rows.  But that appears to be the end of control over the parameters other than setting one or more to (in)Visible.  If you make one of the parameters not Visible, then subsequent parameters are moved up in sequence.  Food for thought as enhancements:

1. Allow parameters to be frozen in position even if one or more are made not Visible.  Thus, retaining their relative placement if that placement is important to useablity.

2. Allow programmable control of the tab sequence of the parameters.  In the case where my logical, useable tab sequence might be 1, 3, 2, 4.

Thanks,
Dan
Svetoslav
Telerik team
 answered on 01 Sep 2009
2 answers
45 views
Is it possible to use classes that were created in my web application to retrieve data for a report?  For example I have a class in the bin directory of my website called "MyClass" and there is a function in there called "MyDataset" which retrieves the exact data I want to have displayed in my report.  Do I have to copy the code from "MyClass.MyDataset" to the report project to use the code, or is there a way to reference the existing code that I have already created.  I cannot simply reference the app_code dll because it would create ambiguous namespaces when I reference the ReportLibrary in my Web app.

Thanks for the help.

Thomas Salt
Top achievements
Rank 1
 answered on 31 Aug 2009
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?