Telerik Forums
Reporting Forum
1 answer
197 views
Hi All,

I am using 3 reports
1. rptMain
2. rptOldReport
3. rptNewReport

I am using rptSubreport1 and rptSubReport 2 as subreports in rptMain.

I am using datatable to bind both the reports.

 

Public Sub New(ByVal dtOld As DataTable, ByVal dtNew As DataTable)

 

InitializeComponent()

 

RptOldReport1.DataSource = dtOld

RptNewReport1.DataSource = dtNew

End Sub

 

It shows the data for both the reports but the problem is that it is not showing the column headings in both the reports.

If I run both the reports seperately from my aspx page directly ( i.e. not opening report as a subreport) then the columns headings are visible.
e.g
Public Sub ShowReport(Byval dt as DataTable)
 Dim objRpt  as OldReport = New OldReport()  // Or Dim objRpt  as NewReport = New NewReport()
 objRpt.DataSource = dt
End Sub


Can anyone please let me know what could be the problem?
Steve
Telerik team
 answered on 21 Jul 2009
3 answers
116 views
I found a problem related to tables and the report system in general. If a need to make different row cell formats in a table there's no way to do it (I didn't find the way).

For example, if a have a listing of vehicles and I have several formatting-subreport types one for each type of vehicle I can't find the way do it in Telerik (without adding controls by code).

Is there any clean way to do it?

Thanks in advance

Steve
Telerik team
 answered on 21 Jul 2009
4 answers
114 views
If I have to present a report from a DataSource with several DataTables and I want to create one report with 2 grids then how can I do it?
Servando
Top achievements
Rank 1
 answered on 21 Jul 2009
2 answers
544 views
I am getting odd behavior from Q2 2009.

Similar problem different results, 3 ways
1.  I am using a table and entering values through the design surface.  Textbox10 is 73.4, Textbox11 is 73.3.  Textbox12 has an expression of =sum([textbox10.value] - [textbox11.value])  In design mode and html mode I get 0 for Textbox 12


2.  Method 2.  No values entered into the textboxes in the table, no expression in textbox12.
Code behind says
    Public Sub New() 
        InitializeComponent() 
        TextBox10.Value = CDbl(75.5) 
        TextBox11.Value = CDbl(74.4) 
        TextBox12.Value = TextBox5.Value - TextBox8.Value 
 
    End Sub 

Textbox12 says 1.09999999999999.  It says the same thing if I tell it to format to 2 decimal places.

3.  Method3.  If I add similar items as number 2, Textbox6.value is 1.09999999999999 TextBox12.value is 1.10000000000001
        TextBox5.Value = CDbl(75.5) 
        TextBox8.Value = CDbl(74.4) 
        TextBox6.Value = TextBox5.Value - TextBox8.Value 
 
        TextBox10.Value = CDbl(75.5) 
        TextBox11.Value = CDbl(74.4) 
        TextBox12.Value = TextBox14.Value - TextBox15.Value 
 


Any ideas?  This was easy in previous releases.


Steve
Telerik team
 answered on 21 Jul 2009
3 answers
150 views
We are considering using Telerik reporting to view our reports.  However, our company also uses Cognos reports.  Are there any converters available for convering Cognos reports to Telerik reports?

Thanks.

Steve
Telerik team
 answered on 21 Jul 2009
1 answer
271 views
I am trying to setup a asp.net page that can run a report based on a report name in the querystring. How can I make this happen?

I tried this
Dim ReportName As String = Request.QueryString("Report")  
        If ReportName IsNot Nothing Then 
            Dim r As Telerik.Reporting.Report = Activator.CreateInstance(Type.GetType("MyReportProject." & ReportName))  
            ReportViewer1.Report = r  
        End If 

But it doesn't seem to work. Any ideas?
Jonathan
Top achievements
Rank 1
 answered on 20 Jul 2009
1 answer
108 views
I'm not sure if this can be done or not. I've looked through the documentation and haven't found anything as of yet. I'm trying to figure out if we can build telerik reports and add/copy the report to an already live existing project without the need to add the report to the project or solution and then recompiling the project. We are often asked to add a report to a site that is already active. We currently using active reports which can do this, but we are looking at moving to telerik reports. We build our projects to actively look at a certain directory to show the current list of reports to choose from to run. We often will build a new report and add it to the directly without recompiling the project to recognize the new report.

Can anyone help with an answer?
Steve
Telerik team
 answered on 20 Jul 2009
3 answers
203 views
When a report parameter accepts null values how can I change the displayed text of the tickbox from 'null' to 'All'?

Steve
Telerik team
 answered on 20 Jul 2009
1 answer
144 views
Hello,

      Just like to ask, does telerik support sorting for other culture like SQL does (Through Collation)? Example for Taiwan culture it sorted by strokes and for china it sorted by pronunciation using SQL. If not, does telerik intend to cater for this?

Thanks.
Steve
Telerik team
 answered on 20 Jul 2009
3 answers
239 views
I've noticed that, when entering a parameter's value within this editor dialog, if you use the "Edit Expression" screen to generate the value's new text then it automatically puts an equals sign, '=', at the beginning of both the boolean constant values. This seems to cause the text to be treated as a string rather than as a boolean, and it gives you an "unable to convert string to a boolean" error, (or similar), as it's trying to parse the text "=True" into a boolean.
Removing the equals sign resolves the error, but as it took me a while to realise this I wanted to let everyone else know, and also to see if Telerik are aware of this.

Paul
Steve
Telerik team
 answered on 20 Jul 2009
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?