Telerik Forums
Reporting Forum
1 answer
151 views
Hello,

I added a reportbook to a report, and this book has 3 reports.  Can I add a report book to a report, or should I create a component as in the sample project, and have it inherit from ReportBook?  Or is there another preferred way?  I can't find much documentation on this, and the demo video says "coming soon", and the web demo comes back to me with a server error...

So I have a report with a key selected from a drop down.  I need to pass this param to each report, and in turn each report should bind its report via its needdatasource event.  I think I gathered that these parameters get merged and displayed from the values of the reports in the book.  What is a proper setup of the reportbook?

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 20 Jan 2010
5 answers
400 views
Hello,

Go to the report in the browser, in my app, and hit save.  That works OK.  But when I go to change the params and hit the preview button, it's not firing the needdatasource event.  So I was wondering if there is something else I need to do in order for that to happen?  Do I need to force a postback, or something?

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 20 Jan 2010
1 answer
73 views
How do I secure the WCF services used for the Silverlight Reporting control? I couldn't find anything in the documentation other than enabling SSL, so I am unsure why anyone who knows the URL can't access the WCF services?
Svetoslav
Telerik team
 answered on 20 Jan 2010
3 answers
238 views
Hi,

I created a report using Telerik Reporting Q3.
The first problem is; my header and detail column are not aligned. (As you can see from the attachment.)
I have set canGrow and canShrink to true in all textboxes.

And my second problem is, as you can see from the attachment, the heigth of the textboxes grew much more than needed.

am i doing something wrong?

Thank you.

hll
Top achievements
Rank 1
 answered on 19 Jan 2010
1 answer
187 views
Hey Everyone,

Is it possible to read an excel file with asp.net and telerik reporting.

Thanks,

-zd
Schlurk
Top achievements
Rank 2
 answered on 19 Jan 2010
4 answers
502 views
Hello,

I am running a report I built and I get:

An error has occurred while processing Report '':
Specific cast is not valid.

How am I supposed to debug this?  I have no idea what is causing this.
Brian Mains
Top achievements
Rank 1
 answered on 19 Jan 2010
1 answer
126 views
Hi
I have some code that adds subreports to a mainreport.  There can be any number of subreports of various widths and various numbers of rows .  I get blank pages at the end of the report

I have a loop that adds the reports by calling the following sub.
I in the sub below I Set the initial width to 15 the height to 1 and then  add padding
I Set the location then databind
I then get the height of the report and add that to the start location. 
As we cross pages this obviously does not work.  Please help

 

 

Private Sub AddTestSubReports(ByVal MySubReport As Telerik.Reporting.SubReport, ByVal mTestCode As String, ByVal mTestTitle As String, ByVal lasttest As Int16)

 

 

'Adds a single test to the report as a subreport

MySubReport =

 

New Telerik.Reporting.SubReport

 

MySubReport.Size =

 

New Telerik.Reporting.Drawing.SizeU(New Telerik.Reporting.Drawing.Unit(10, Telerik.Reporting.Drawing.UnitType.Cm), New Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Cm))

 

MySubReport.Style.Padding.Bottom =

 

New Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Cm)

 

MySubReport.Dock = System.Windows.Forms.DockStyle.Top

MySubReport.Name =

 

"SubReport2"

 

 

 

 

 

MySubReport.Style.BorderColor.Default = System.Drawing.Color.MidnightBlue

MySubReport.Style.Color = System.Drawing.Color.Transparent

MySubReport.Location =

 

New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Cm), New Telerik.Reporting.Drawing.Unit(myStartLocation, Telerik.Reporting.Drawing.UnitType.Cm))

 

 

 

 

 

Dim mobjTestResults As New objTestResults(mCertificateCode, mTestCode)

 

mobjTestResults.BuildTestHeadings(

 

False)

 

mobjTestResults.AddResultsTodtResults()

 

 

Dim txtTemp As New Telerik.Reporting.TextBox

 

 

Dim SubRep As New CertificatTestSubRep1

 

MySubReport.ReportSource = SubRep

SubRep.txtTestName.Value = mTestTitle

DeleteUnwantedSubRepItems1(mobjTestResults.dtResults.Columns.Count, SubRep, mobjTestResults.mdtColums)

 

 

SubRep.DataSource = mobjTestResults.dtResults

 

Me.DetailSection1.Items.Add(MySubReport)

  

myStartLocation = myStartLocation + MySubReport.Height.Value

 

 

End Sub

 

 

 

Al
Top achievements
Rank 1
Iron
 answered on 19 Jan 2010
3 answers
103 views

Well I have uninstalled RadControls_for_ASP.NET_AJAX_2009 Q1, but when I am trying to install RadControls_for_ASP.NET_AJAX_2009 Q2, system shows me this error:


"Telerik RadControls for ASP.NET

AJAX VSExtensions are installed.

Please uninstall and restart this setup."


But when I am trying to delete VSExtensions from   Control panel/Add or Remove shows this massage:

"Telerik RadControls for ASPNET AJAX are not installed"



And at last how I can uninstall this VSExtension?

Petar
Telerik team
 answered on 19 Jan 2010
1 answer
110 views
Hello,

I'm looking at the C# examples that came with the download.  Do I have to bind in initializecomponent?  I have a report with 4 params, and the data source is dependent on these parameters.  So what I am wondering is, from what I'm seeing on these examples, is why do I have to bind my dataset generated from a table adapter in the constructor when I don't know what the data will be until the user fills in params.

I'm just getting into telerik reporting, so forgive my newbieness :-)

EDIT: after looking at it, it does not appear the needdatasource event is firing after parameters have been specified and I click the preview button.  I'm not sure why that is, do you have to do something for that to happen?

Thanks.
Steve
Telerik team
 answered on 19 Jan 2010
2 answers
436 views
Hello,

I'm using this approach to bind a form: http://blogs.telerik.com/kevinbabcock/posts/09-03-14/telerik_reporting_connecting_to_stored_procedures.aspx

So I'm using a stored proc, and binding the data in the needdatasource event.  I have four parameters, but I see no parameter list to be able to edit them... what is going on, do I need to enable something?  I'm at a loss here as to how I can supply property values in the ASPX web page and in the preview window.

Note, I setup the parameters in the properties grid in the designer.

Thanks.
Steve
Telerik team
 answered on 19 Jan 2010
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?