Telerik Forums
Reporting Forum
1 answer
300 views
We have nested tables. Table B is in Row 14 of Table A. When the Table B has no data we would like to not show it and this we did by setting its visible to false. But the white space created by this(row14) is showing up in the report.
How to remove row14 when it is not applicable?
Elian
Telerik team
 answered on 09 Apr 2012
1 answer
351 views
I have a report with header and multiple sub sections in details section.
For each subsection we have placed table and assigned corresponding datasource.
In header i have a textbox which contains patient related data.
Eg:textbox1 -->Expression--> [=Fields.NameField]


Now i need to display a caluculate field in table1 column based on the value of the textbox in header section.

eg:
Table1
----------------
textbox2-->Expression-> =FormatName() (UserDefined function)

In code behind file .cs

public static string FormatName()
{
return textbox1.Value+ "Busineess Logic";
}
But i am not able to access textbox1 here in this method as the method is declared as static.

How to achieve this in telerik ???
Elian
Telerik team
 answered on 09 Apr 2012
0 answers
90 views
hi
for reporting
i want to change numeric format
for example change 123.65 to  123/65
how can i do this?
tnx.

i
Omid
Top achievements
Rank 1
 asked on 09 Apr 2012
1 answer
334 views
When I try and preview my report I get an error as soon as I reference my object data source.  ...

An error has occurred while processing Report 'ShortDetailReport': An error occurred while invoking data retrieval method. Try restarting VisualStudio. ------------- InnerException ------------- Exception has been thrown by the target of an invocation. ------------- InnerException ------------- The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.

So, I thought I would try and debug it.  I created a "report viewer to point to my report.  When I go to my report view page I get this error ...

error CS0012: The type 'Telerik.Reporting.IReportDocument' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Reporting, Version=6.0.12.302, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.
c:\Windows\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\6.0.12.302__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll: (Location of symbol related to previous error)
c:\....\ShortDetailReportViewer.aspx(8,13): error CS0012: The type 'Telerik.Reporting.Report' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Reporting, Version=6.0.12.302, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.
c:\Users\Brisco\AppData\Local\Temp\Temporary ASP.NET Files\root\62b29810\64a087af\assembly\dl3\40a66d36\c6893234_be14cd01\...Web.DLL: (Location of symbol related to previous error)
c:\....PHRED.Web\WebConsumer\ShortDetailReportViewer.aspx(8,30): error CS0029: Cannot implicitly convert type ...Web.App_Reports.ShortDetailReport' to 'Telerik.Reporting.IReportDocument'


The correct reference is there, why is it not finding it? So far this has been a horrible experience with the reporting tool. I have been trying for three days now to get this stupid report working. I have not been able to get past just trying to bind to me datasource.


Steve
Telerik team
 answered on 09 Apr 2012
1 answer
168 views
I have a bit of experience with Telerik Reports and using Charts. But I have only used one Chart. I was wondering if it is possible to do something like shown in the attachment? Any help provided would be greatly appreciated. Thanks.

Hadib Ahmabi
Top achievements
Rank 1
 answered on 09 Apr 2012
1 answer
106 views
Hi,
I want to test the reporting portal for my company.
Is there anyway to create a "reporting portal" for the for the company where user can enter see a menue with their reports?
and also, do you have a mechanism to manage the security of users accessing it (the "reporting portal")?
I want a link to a tutorial if it is possible.

Thanks
Steve
Telerik team
 answered on 09 Apr 2012
1 answer
145 views
I have created charts inside a report using SQLDataSource to bind the data.  I would like my bar graph to show negative entries in red and positive entries in green.

I have tried setting the "ConditionalFormatting" property as in link below but that doesn't do anything. 
http://www.telerik.com/help/reporting/styling-conditional-formatting.html

Also I found this thread, but my data is generated by datasource.  How can I retrieve the ChartSeriesItem from the reportviewer?
http://www.telerik.com/help/reporting/howtoassigncolors.html

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Not IsPostBack Then
        Dim report As New MyReports.NetIncomeByOffice
        ReportViewer1.Report = report
    End If
End Sub
Hadib Ahmabi
Top achievements
Rank 1
 answered on 09 Apr 2012
11 answers
3.6K+ views
Hello all,

Can anyone give me an example of how to use the PageCount and PageNumber Build-In objects please.

Thanks,

JY
Steve
Telerik team
 answered on 09 Apr 2012
1 answer
360 views

I am using a telerik reporting cs file which has designer and resx file...I want to use the same file or report fro my another project..so i copied them over to my new project and changed the default namespaces of the cs file to the current project namespace but still get an error says:

Error    1    Could not load file or assembly 'file:///C:/Windows/assembly/GAC_32/ESRI.ArcGIS.ADF.Connection/10.0.0.0__8fc3cc631e44ad86/ESRI.ArcGIS.ADF.Connection.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Line 144, position 5.    C:\Projects\EnbridgeFlanagan\SilverlightApplication1.Web\MissingPhotos .resx    144    5    



I removed  the dll and added it  again but no avail..can some one suggest me if there is an alternate better way of doing it ?  Thank you
Hadib Ahmabi
Top achievements
Rank 1
 answered on 09 Apr 2012
1 answer
53 views
I'm using the GroupHeader_ItemDataBound method in my report to supress repeated grouped data like this:
data:

                    field1        field2        field3        field4
row 1            abc           123            def            456
row 2                                                               789
row 3                                                               222

In this case, the information in field1, field2 and field3 is supressed because it was all the same.  
My requirement is such that if the page changes and the first record on the page would normally be
a record that Ii would be supressing, I need it to display.  Can you tell me how I would determine this?  
I saw that page relative reporting was on the "roadmap" for enhancements back in 2010.  

Thanks,
Doug 
IvanY
Telerik team
 answered on 06 Apr 2012
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?