Telerik Forums
Reporting Forum
3 answers
278 views
there are two problems I am heading with at moment

1. I have the following code in the report

Public Shared Function PrepareConatctRPT As DataTable  
 Dim ContactTbl As New DataTable  
 Dim aRow As DataRow = ContactTbl.NewRow  
 ContactTbl.Columns.Add("Buyer")  
 aRow.Item("Buyer") = true  
 ContactTbl.Rows.Add(aRow)  
End Function 
 
Private Sub ContactNormal_NeedDataSource(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles MyBase.NeedDataSource  
        Me.DataSource = PrepareConatctRPT  
End Sub 
 
Private Sub detail_ItemDataBound(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles detail.ItemDataBound  
  Dim section As Processing.DetailSection = TryCast(sender, Processing.DetailSection)  
  Dim row As DataRowView = DirectCast(section.DataItem, DataRowView)  
  If CBool(row.Row("Buyer")) Then 
   'Do some code here  
  end if  
End Sub 

I have the following error message:

Column 'Buyer' does not belong to table MainTable.

if I have the same function setting datasource from other form, eg. aReport.datasouce=xxx
but not needdatasource (on demand)
it's functional

2. when I have printed using webarchive or word, the alignment is fine, however, when i print it to PDF, the alignment is slightly offset, do you have any idea what could cause it?

thanks and waiting for your reply :)

Steve
Telerik team
 answered on 23 May 2008
1 answer
57 views
Hi,

the new Report Designer is compatible with "old" Telerik Reporting 2.0 reports?

Thanks.
Svetoslav
Telerik team
 answered on 22 May 2008
2 answers
283 views
I am newbee to the Telerik reporting. I just downloaded and read through the best practices for architecting the solution. The best practice suggests me to organize the reports in to a class library and then use this library in the report viewing application. Instead i would like to organize the reports in a database. I was looking for a functionality where in I could save the report.cs file to an external file (for e.g XML based ) which, i could save in to the database and load from. I can even save the report.cs file in the database and create a lib at runtime. But wanted to know if a shortcut is available. Would appreciate help in this regard.
Ninaad
Top achievements
Rank 1
 answered on 22 May 2008
5 answers
151 views
I have installed a Trial version of Telerik Reporting Q1 2008 on my computer.
I created a page and placed a Telerik report viewer control.
All of the samples are working normaly except:
  • Product Catalog Report
  • Product Line Sales Report
which have a UI report parameter visible.
The program says:
A critical error has occurred.
Object reference not set to an instance of an object.

Then I created my own Report, added a parameter. It works fine until I set its UI property Visible = True.

Why is this happening?
Can you help me solve this problem?

Thank you very much and best regards.
Chavdar
Telerik team
 answered on 21 May 2008
1 answer
172 views
Hi

Is it possible to maintain a datasource connection string in a config file (like the web.config of web site) for all reports.

I'm creating a web application, but in a seperate project I'm creating the reports.
Once published, it will be known where the database reside, so changing the connection string only at one place so that all the reports then use that connection string.?
Ivan
Telerik team
 answered on 21 May 2008
2 answers
67 views
I just have a quick report.  I was looking at the TextBox page on my local copy of the Reporting documentation, and the link "expression" (ms-help://telerik.reporting.2.5/Reporting/DesigningReportsItemBindingExpressions.html) does not work.  I thought I'd let you guys know in case you haven't found this already!
Nikolay Dobrev
Telerik team
 answered on 19 May 2008
1 answer
108 views
Hello,

I've been working heavily with Reporting for the past few weeks and I have noticed that some aspects of the documentation could use some improvement.  For example, in the Chart topic and sub-topics, there is hardly any substantive documentation.  However, if you look at the RadChart section in the WinForms suite, the documentation is great!  I was thinking, do you think you could update the Reporting documentation to at least copy the helpful things that already exist in other control suites?  It seems a little illogical to have to refer to one product documentation for a totally different product :)

Thanks,

UIdev
Steve
Telerik team
 answered on 17 May 2008
2 answers
137 views
Hello,

I'm trying to design a report but I'm having some issues with using the chart.  I have a DataSet that I'd like to somehow plug into a pie chart.  The structure of the sole table in the DataSet contains a column named "Nation".  For each row in the table, I'd like to increment the nation's slice of the pie.  However, I really have no clue where to get started.  When I go right click->properties on the chart and select the Data tab, it just says "use the NeedDataSource event."  I looked into that, but the documentation is severly lacking and I couldn't figure out anything.  So if you guys could come up with an answer to this problem it would be very much appreciated!

Thank you,

UIdev
UIdev
Top achievements
Rank 1
 answered on 17 May 2008
1 answer
158 views
Hello,

Is there any table which you can use to list your fields.
I am new to Telerik Reporting. I usually use Visual Studio to design a report in rdl/rdlc files and there you have a table.
How do you achieve this in here if you want to have horizontal line separator between each record and align them center if a cell grows?

Regards,
ME
Ivan
Telerik team
 answered on 16 May 2008
6 answers
229 views
Hi. Is it possible to use the r.a.d. reporting tool to generate Avery labels that users can export to MS Word? These labels are available in MS Word under Tools > Letters and Mailings > Envelopes and Labels > Options. This would be a very useful and handy tool to have, if it's not already available.

Thank you :)
Steve
Telerik team
 answered on 16 May 2008
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?