Telerik Forums
Reporting Forum
2 answers
146 views
Hi,
   I have one web solution and trying to create reports. I added a folder "Reports" to that solution and trying to add Telerik Report. It is asking me to add in "app_code" folder. If I click NO, It is just showing code behind file. I can not see the designer. Is there anything I am missing.


Thanks
Chiran
Steve
Telerik team
 answered on 15 Jul 2011
4 answers
337 views
Hi,
I am using Reporting Q1 2011 and am trying to make a report that contains a subreport. I am using a ObjectDataSource for this report. I am not setting the datasource for the subreport, I am using the NeedDataSource event to do that. Problem is, I can't figure out how to refer to the element I need. I downloaded an example from this site http://www.telerik.com/community/forums/reporting/telerik-reporting/sample-for-master-detail-using-object-collection-as-datasource.aspx that shows how to do this, but it's from an older version and the .DataItem property is no longer available. I can't seem to find a current example of how to do this. So how exactly does one gain access to dataitems in a business object so that the datasource of the subreport can be set correctly using Q1 2011?

Thanks
John
Top achievements
Rank 1
 answered on 14 Jul 2011
3 answers
152 views
Hi,
I've just updated my reports from the Q3 2010 release to the new Q2 2011 release and on all reports I am now getting the following error when previewing the report in VS: "The source of the report definition has not been specified".

In the code behind the report I manually setup the datasource and it was working perfectly till now.  

Is there some obvious breaking change that has caused this to appear?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 14 Jul 2011
15 answers
844 views
Hello,
I want to display some fields in Hyperlink , as when clicked go to specific from , please if it's available tell me how .
Thanks in advance

Kariem Samy
bas
Top achievements
Rank 1
 answered on 14 Jul 2011
3 answers
102 views
I have a report that uses a line chart to show a trend of data across a date range. Code has been put in place to compensate for how the x-axis labels are rendered so that a large date range is readable. On the NeedDataSource event for the chart, I fetch the data then use the following code to adjust the x-axis label.

int labelStep = (dataList.Count / 10);
 
chartTrendByDay.DataSource = dataList;
if (labelStep == 0)
    labelStep = 1;
chartTrendByDay.PlotArea.XAxis.LabelStep = labelStep;

When viewing the report in the ReportViewer, the above code results from 1..10 points on the x-axis. The problem is, when exporting to PDF I end up with 1 point for each day (i.e. a report for the trend across the year results in 365 data points), which is unreadable in most circumstances. See attached for the viewer-vs-PDF screenshots.

Question: How to I fix the export to PDF so that the x-axis is readable?
Steve
Telerik team
 answered on 14 Jul 2011
0 answers
93 views
I'm using Telerik Q3 2010, I want to get PageCount and PageNumber from Report Library. I call method GetPage from C# but I can't find BeginRenderPage event to add page number and pagecount to my report.  Can you help me resolve that ? Thanks you!
Mr Cong
Top achievements
Rank 1
 asked on 14 Jul 2011
0 answers
99 views
Hey Guys,
  Thanks for optimizing the image rendering in the control, it appears much more responsive on image intensive reports even in debug mode here :)

So just for you internal stats to know HOW much better it is:

Q2 2010: 128 Http Requests, finish rendering in 17 seconds
Q2 2011: 105 Requests @ 7 Seconds

...very impressive performance boost.

Now I am seeing it request the header images on the viewer twice, so that's bloating the http requests, but they appear to be loading cached versions at least the second time...so while they're still processed there's no extra downloads.  I can get this on Jing video if you want.

When can we expect to see spriting of the actual viewer control bar itself?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 13 Jul 2011
2 answers
116 views
Hello,

I am testing the dynamic filtering capabilities of the reporting tool for asp.net.

I cut the example below from your website, bur I am getting an error with
the "Reports1.Filters.add("filter1") line. The error I get is:

<< Reference to a non-shared member requires an object reference. >>

What object requires referencing?

Thanks,
Randy


Imports System
Imports System.Data
Imports System.Data.SqlClient
Imports System.Math
Imports System.IO
Imports System.Web.UI.Control
Imports System.Net.Mail
Imports System.Globalization
Imports System.DateTime
Imports System.Threading
Imports System.String
Imports Telerik.Reporting
Imports KonsItemsTelerik
Imports Telerik.ReportViewer.WebForms
  
  
Partial Class _Default
    Inherits System.Web.UI.Page
  
    Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  
        Dim filter1 As New Telerik.Reporting.Data.Filter
  
        filter1.Expression = "=Fields.ProductID"
        filter1.Operator = Telerik.Reporting.Data.FilterOperator.Equal
        filter1.Value = "=10"
  
        Report1.Filters.add("filter1")
  
    End Sub
  
End Class
Randy
Top achievements
Rank 1
 answered on 13 Jul 2011
5 answers
162 views
Hi,

I have created a custom style to change the look of the ReportViewer in my application.  I am trying to see if I can change the text on the <select all> combo box item for a report parameter.  From what I can tell, I need to apply a style to the Telerik.ReportViewer.Silverlight.MultivalueAvailableValuesParameterModel.SelectAllItem class, but I can't figure out how to get to it from Blend.  It definitely isn't exposed by the ReportViewer class that I am currently styling.  Is there a way to change this text at this point in time?

Thanks,

Rob
Peter
Telerik team
 answered on 13 Jul 2011
2 answers
344 views
Hi,
I created a conditional formatting rules for subreport
where
expression = Fields.Item1
Operator = In
Value = 1,2,3
style.visisble = false

But the subreport still visible. If i create multiple rules using operator "=" then it works.
How can I use operator "In"?



cheekl
Top achievements
Rank 2
 answered on 13 Jul 2011
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?