Telerik Forums
Reporting Forum
1 answer
88 views
Hi,

I need to do some charts.  Am I using the Charting control inside Reporting?  I'm kind of confused on where to look for some documentation on how to do this?

Thanks,
Darren
Steve
Telerik team
 answered on 13 Oct 2009
0 answers
147 views

  Anyone help to access the table rows,
  i) Can i access the table rows in itemDatabound event like detail itemDatabound event
  ii) Give some samples of itemdatabound event for table.
  iii) Give some samples for accessing table rows.
jenbagaraman j
Top achievements
Rank 1
 asked on 13 Oct 2009
1 answer
114 views
Hi,

I put static list items in htmlTextBox. It is showing more gap between two lines in design view. But it is showing less space in edit expression. And same code I copied to notepad and saved as html, it is showing exactly same as edit expression view. 

How can get list like html or edit expression view. Please find attached screen shots with this mail.


Regards,

B.Sridhar

  
Steve
Telerik team
 answered on 12 Oct 2009
1 answer
126 views
Hi there.

I am new to Telerik Reporting and I have read some KB articles about using a stored procedure as my data source. I think I have it setup correctly because my _NeedDataSource method is getting called, but none of my data elements are getting populated. I am just hard-coding the parameters for now and when I run the sproc manually, I get data, so I am confused as to why I am not getting any data in my report. Here is my class:

 

public partial class My_Report : Telerik.Reporting.Report

 

{

  public My_Report()

  {

    InitializeComponent();

    this.DataSource = null;

 

    this.NeedDataSource += new System.EventHandler(this.My_Report_NeedDataSource);

  }

 

 

 

  private void My_Report_NeedDataSource(object sender, System.EventArgs e)

  {

    //Transfer the ReportParameter value to the parameter of the select command

 

    this.sqlDataAdapter1.SelectCommand.Parameters["@PersonID"].Value = 8;

 

    this.sqlDataAdapter1.SelectCommand.Parameters["@OperatorID"].Value = 11; 

 

    //Take the Telerik.Reporting.Processing.Report instance and set the adapter as it's DataSource

 

    Telerik.Reporting.Processing.

Report report = (Telerik.Reporting.Processing.Report)sender;

 

    report.DataSource =

this.sqlDataAdapter1;

 

  }

}

 

 

I have each of my fields in a table referencing in this manner:
    =Fields.TaskNumber

I do no receive any errors or anything, so I am looking for some guidance.

Thanks, Mike

 

More info:
When I added this to my NeedDataSource method:

 

 

this.sqlConnection1.Open();

 

 

int rows = this.sqlSelectCommand1.ExecuteNonQuery();

rows returns -1, so I am somehow not getting any data back. I removed the parameters from the sproc and just hardcoded them and I still get a return value of -1 in rows. Any ideas?

 

Michael Love
Top achievements
Rank 1
 answered on 09 Oct 2009
2 answers
114 views
Everyone,

I am trying to add a report generation system to my web site.  I am trying to use the trial version of Telerik Reporting to see if it can do what I need it to do.  I am using Visual Studio 2008 and Framewrok 3,.5.  I have a report class created and a report viewer on my web page.  I get my data table from WCF and assign it to the report.  The report displays with headings but no data rows.  I have used '=FieldName" and "=Table.FieldName" in the text boxes to no avail.  My code is simple:

 

Dim objMainReport As Telerik.Reporting.Report = New RequestsByDate()

 

objMainReport.DataSource = dsTemp.Tables(0)  '-- table is available here

ReportViewer1.Report = objMainReport

ReportViewer1.DataBind()

I know that it is probably something to do with my RequestsByDate class, but I really have no clue.  Any help would be appreciated.

Thanks in advance,

Mark

Michael Love
Top achievements
Rank 1
 answered on 09 Oct 2009
4 answers
355 views
Hello!

I have a question concerning the positioning of items on the report page. First, my scenario:

- One report wich has the Page Header section, 2 groups, Detail Section with a subreport inside it, Page Footer section;
- The sub report has only a crosstab in the report header section, with page header, report footer, page footer, detail sections invisible.

My problem is how to make the crosstab appear always centered in the report pages... Is there a way to do this?

Thanks and regards!
Stargazer
Top achievements
Rank 2
 answered on 09 Oct 2009
3 answers
174 views
Hello,

We have a need to inherit our reports from an abstract base class, and when we do we can not access the designer.  An error comes up saying "The designer must create an instance of type 'reportbasename' but it cannot because the type is declared as abstract. "  I changed the base type to a normal class and recieved the following error: "The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: reportname --- The base class 'reportbasename' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. "

Any help or guidelines to follow for this issue would be greatly appreciated, Thanks in advance.

-Lars Solberg
Steve
Telerik team
 answered on 09 Oct 2009
0 answers
69 views
Please, i need to  Display Report with a crosstab with alternating style rows, How can I do????
Silvia
SIlvia
Top achievements
Rank 1
 asked on 09 Oct 2009
2 answers
104 views
Hi
 
I have a report with the databinding at runtime.
 
This code displays a blank report even on hitting the report refresh icon.
 
Public Sub New()
InitializeComponent()
Dim fs As New CPSMDAL.JobPlan
Dim fsDT As DataTable = fs.JobPlanReport(JobPlan_ID)
Me.DataSource = fsDT
End Sub
 
However this still displays a blank report, but on hitting the refresh icon it does display the full report.

 

Public Sub New()
InitializeComponent()
End Sub

 

 


Private
Sub JobPlan_Frontsheet_NeedDataSource(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.NeedDataSource
Dim fs As New CPSMDAL.JobPlan
Dim fsDT As DataTable = fs.JobPlanReport(JobPlan_ID)
Me.DataSource = fsDT
End Sub

 

If I debug the code, the recordset has 15 members, why isn't it binding.
Andy Green
Top achievements
Rank 1
 answered on 09 Oct 2009
0 answers
49 views
The same thing with Cancel button when you decided cancel printing.  Is this a bug or feature?
Sergei Rassk
Top achievements
Rank 1
 asked on 09 Oct 2009
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?