Telerik Forums
Reporting Forum
3 answers
285 views
Hi,
 I have a report that has two parameters the second is cascaded from the first, what I would like to do is to have the second parameter pick up the first value from it's available values after the collection has been populated.

For example parameter one is a list of user names and parameter two is a list of dates based on the username. I would like parameter two to have a value equal to the fist available date in it's available values collection each time that the user name is changed.

The reason for this is to allow the report to show the newest data when opened up so that the end user does not have to select a date unless they wish to view a different one.

Thanks

Chris
Peter
Telerik team
 answered on 24 Nov 2011
5 answers
253 views
I have VS2010 and SL4. I installed reporting Q2 2010. Tried to drag a report viewer on a page of a 'Silverlight Business App' and I got that error... any idea?

Furthmore. I am using WCF RIA services so will the report see the domain services as a data source? Or how would I bind the data?
Steve
Telerik team
 answered on 24 Nov 2011
1 answer
191 views

I cant seem to find an example on this site that shows changing an item (ie. TextBox) in a subreport.

I'm trying to update the textbox in the subreport, but it will not show the updated value.

I tried the following code as an example and when I debug and I can see the subreport text box. This example changes the value of all textbox items in the main report but not in the subreport.

ReportItemBase[] allTextBoxes = report.Items.Find(typeof(Telerik.Reporting.TextBox), true);
int i  = 0;
foreach (Telerik.Reporting.TextBox textBox in allTextBoxes)
{
   textBox.Value = (i++).ToString();
}


Steve
Telerik team
 answered on 24 Nov 2011
2 answers
213 views
Hello

I have a report connecting to mysql using a sqldataadapter.
When the report is generated it creates 8 pages all of the same report.
Any suggestions?

Thanks
JedF
Top achievements
Rank 1
 answered on 24 Nov 2011
7 answers
721 views
Hi,

I have a SQL view where one row of data is for Header section of the report and the remaining rows of data are for Details section of a report. 

I have a field "RowType" in the view with values: 
  - "HeaderData" for row of data that goes to Header section (the view has only one such row).
  - "DetailsData" for all other rows of data, which goes to Details section.

I tried adding filter to Details Group, but observed that this filters the whole report.
Also, I did not find any way to add filter to the Header Group.

My queries are:
1. On the Header section, how do I display only the data from the row containing "HeaderData" on "RowType" field? 
2. On the Details section, how do I display remaining data (with "DetailsData" on "RowType" field)  ?

Thanks in advance.
Sumit
Sumit
Top achievements
Rank 1
 answered on 24 Nov 2011
2 answers
146 views
Over the past weeks I have updated my Telerik controls in Visual Studio 2010 ASP.NET.  My project contains both ASP.NET AJAX and Telerik Reporting.  The ASP.NET AJAX is version 2011.3.1115.40 and the Telerik reporting is version 5.3.11.1116. 

Since starting the telerik control updates, the ReportViewer control -- in design view and when it displays the report -- is strectched to the right, and the ReportViewer controls are moved around in the ReportViewer. 

I've attached an image of the ReportViewer in the Visual Studio design view, and another image of the ReportViewer when it diplays a report.

Thanks for any help.
Robert Adkison
Top achievements
Rank 1
 answered on 23 Nov 2011
1 answer
212 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.2K+ 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
230 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
98 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
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?