3 posts, 0 answers
  1. Joel
    Joel avatar
    165 posts
    Member since:
    Oct 2006

    Posted 20 Sep 2007 Link to this post

    I am just trying out Reporting because I have a need to generate a PDF  that is "prettier" than the radgrid grids we usually use according to our customer.  This reporting tool is one option.

    This is a web based app, and I can generate a report successfully.  Now I am trying to add a list of text boxes from a datasource.  I tried to use the listboundreport example but it is not working in my instance. (Example site works fine)

    I have a function that I am using as a dataset and the .vb file looks like this:
    Imports System.ComponentModel 
    Imports System.Drawing 
    Imports Telerik.Reporting 
    Imports Telerik.Reporting.Drawing 
    Imports SMSDAL 
    Imports System.Data.SqlClient 
    Public Class PricingReport 
        Inherits Report 
        Private objdo As New SMSDAL.DataObject 
        Public Sub New() 
            Me.DataSource = GetMyData() 
        End Sub 
        Public Function GetMyData() As DataSet 
            Dim mysql As String 
            mysql = "Select * from users" 
            Return objdo.daGetDataSet(mysql) 
        End Function 
    End Class 

    I added a textbox to the report and set the value to "=User_Name" which is a valid field returned by the dataset.

    I get an error of "Missing Opertator before _name operator"

    Any suggestions?

  2. Joel
    Joel avatar
    165 posts
    Member since:
    Oct 2006

    Posted 20 Sep 2007 Link to this post

    Also...  Are my assumptions correct that you cannot put RadGrids or other 3rd party objects in these reports?
  3. DevCraft banner
  4. Svetoslav
    Svetoslav avatar
    649 posts

    Posted 21 Sep 2007 Link to this post

    Hello Joel,

    This issue is already fixed in the new version of Telerik Reporting Q2 2007 that we released this week. Otherwise with the previous version you must wrap such names in brackets - [User_Name].

    Regarding the RadGrid/3rd party object, the answer is that currently the report can contain only report items and cannot use/display any windows forms or Web controls.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top