Telerik Forums
Reporting Forum
1 answer
171 views
Hello Telerik,
I've currently developed a report that uses EF to retrieve the data (in the true DevForce's IdeaBlade), I've the main report then a subreport where I've attached my 1...N items and the data are shown correctly...
Now I need to show in the subreport a property that's not defined in the data below... how can I access to the data via expression editor?

Consider this

MainObject

ID
Description
Country
IEnumerable<ChildObject> xxx

I need in the subreport that's bound to item of type ChildObject to access to Country property

Using QuickWatch I've seen that the item I'm looking for can be accessed with

var dataContext = ((IdeaBlade.EntityModel.EntityReferenceBase)(((IdeaBlade.EntityModel.RelatedEntityList<MainObject>

Can someone help me out?
Thanks
Peter
Telerik team
 answered on 23 Nov 2011
4 answers
2.0K+ views
Hi, I am trying to load an image from external URL, following is my code

Private Sub detail_ItemDataBound(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles detail.ItemDataBound  
        Dim detail As Telerik.Reporting.Processing.DetailSection = DirectCast(sender, Telerik.Reporting.Processing.DetailSection)  
        Dim section As Processing.DetailSection = TryCast(sender, Processing.DetailSection)  
        Dim row As DataRowView = DirectCast(section.DataItem, DataRowView)  
        Dim aPicBox = DirectCast(detail.ChildElements("pnlDetails").ChildElements("pnlPic").ChildElements("picProperty"), Processing.PictureBox)  
        Dim oWebRequest As WebRequest  
        oWebRequest = WebRequest.Create("http://www.geekologie.com/2007/12/07/future-car-1.jpg")  
        aPicBox.Image = System.Drawing.Image.FromStream(oWebRequest.GetResponse.GetResponseStream())  
    End Sub 

and I get

An error has occured while processing PictureBox 'picProperty':
Access to the path xxxxxxxxx' is denied.

any suggestions?
Steve
Telerik team
 answered on 23 Nov 2011
1 answer
189 views
Hello,

We have a Web Report Viewer that spans the width of the whole page.
However the report that is displayed in it, is align left by default, and we would like it to be centered.
How do we achieve this behavior?

See screenshot

Thanks!
Squall
Top achievements
Rank 1
 answered on 23 Nov 2011
1 answer
72 views
Hi,
Referring to the URL below, I try to apply style using htmltextbox design view. However, the style is missing after I change to HTML view and back to design view.
URL: http://www.ximnet.com.my/upload/telerik_reporting_htmltextbox.swf

Am I missing something?

Thanks.
Peter
Telerik team
 answered on 23 Nov 2011
5 answers
593 views
Hello,

  I have a table with several rows.  Some of them are spanned.

  Each of row has constant height in 8 points:
  var tableRow = new TableBodyRow(Unit.Point(8));

  Each of cell contains a TextBox with following style:
  var textBox = new TextBox
   {
           Docking = DockingStyle.Fill,
           CanGrow = false,
           CanShrink = true,
           TextWrap = false,
 };

But after exporting to Pdf some of columns are higher that 8 points (see picture).

How to fix the row height for a table?

P.S. The similar problem is described here: "http://www.telerik.com/community/forums/reporting/telerik-reporting/how-to-equal-cell-s-height.aspx"

Thanks,
-Andrey Popov
Andrey
Top achievements
Rank 2
 answered on 23 Nov 2011
4 answers
326 views
Can I use user-defined functions defined in an assembly different from the assembly where the report is located?

What about reports exported as XML? Can I call use user-defined functions in this kind of reports considering that they are not located in an assembly?
Sergey
Top achievements
Rank 1
 answered on 23 Nov 2011
11 answers
434 views
I am trying to create a simple mailing label report. I have gone through the wizard, selected a SQLDataSource, selected a procedure, added the 5 parameters and when I hit the Execute Query button I get a row count of 190 (which is correct) but no data is displayed in the wizard. When I continue on to the report, when I click on 'fields' in the expression builder, it tells me there is no datasource. When I look at the properties of the report, the datasource is filled in with the one I selected in the wizard.
Steve
Telerik team
 answered on 23 Nov 2011
4 answers
164 views
Hi,

is there any way to conver from Microsoft reporting (rdlc file) to Telerik Reports.

On one of your threads there was a mention that it was happening in Q2007 release?

Regards
Roger
ITServices
Top achievements
Rank 1
 answered on 22 Nov 2011
9 answers
461 views
Hello,

I may be missing something obvious here, but I've just upgraded to Telerik Reporting Q1 2009 and I'm trying to make effective use of tables. On one particular report, I've replaced an existing subreport with a table, and I'm assigning the table's datasource during the databound event of the report's detail section. I do this because the master report is populated by a generic list (List<T>) of user objects, while I need the table to reflect each user's phone numbers (which is another generic list of phone number objects contained within each user object).

The report seems to display ok, but when I export in CSV format, the data from the table is missing.

Do I need to assign the table datasource differently, perhaps?
rakesh
Top achievements
Rank 1
 answered on 22 Nov 2011
2 answers
405 views
Hi,

I'm a bit lost with this problem..
I need to represent in the same chart, values from different datasources. (i.e. each serie of chart should map one column of each datasource)

I need this because I'm receiving my data trough webservices and I can't manage or change the source(sql)..

Regards,
Gonçalo
Top achievements
Rank 1
 answered on 22 Nov 2011
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?