Telerik Forums
Reporting Forum
1 answer
287 views
Hi, I have a class library of about 60 reports which are in vb. I'd would prefer the reports in a c# library, the .vb files are easy enough as there's not too much code but unsure about the designer.vb files...any easy way to convert them?  If not, it's not a problem.

cheers
Martin
Chris Gillies
Top achievements
Rank 1
 answered on 26 Mar 2010
17 answers
1,000 views
Hi, I am new to Telerik reporting and trying to figure out how to print multiple pages in a report. Right now if i click the print button on the Reportviewer it only prints the first page. Is there anything that should be done to print all the pages?
Karl Wilkens
Top achievements
Rank 1
 answered on 25 Mar 2010
3 answers
1.4K+ views
Hi,

We have upgraded Telerik reporting version to Q1 2010 from Q2 2009. Report rendering performance is very good. But, one of our report suddenly giving error like "An error has occurred while processing Table 'tblControl': Grouping expression should not contain aggregate functions.".  The same report is working well in Q2 2009 version. We are using 'Table control' in report.

1st Row  - Header
2nd Row - Detail
3rd Row - Footer (here is our Total field we placed  ie. Sum(SalaryField))

What is the cause of this problem?


Steve
Telerik team
 answered on 25 Mar 2010
1 answer
225 views
Hi
Is able to use a DataSet (XML Definition adn after programic creation. -CrystalReports proces) with multiple tables as datasource?
DataExplorer does not show me more tables.

Thanks you
Steve
Telerik team
 answered on 24 Mar 2010
3 answers
172 views
When installing the latest release I get a 'failed to connect' error (attached).  I have sql 2008 installed.  I've disabled express and have chosen '(local)' as the option.  It gets to the point of 'Executing SQL Scripts' and @ that point fails. All permissions are correct for account, SQL is running (I verifyed using Management Studio), Q3 2009 installed just last week (with no issues). 

Anything I can check?
Steve
Telerik team
 answered on 24 Mar 2010
3 answers
547 views
Hi All,

I'm quite new to telerik reporting and wish to use an object as a datasource, a sort of reportmodel (like the viewmodel in MVVM pattern).
With that use, I will be sure to separate my reports from my datas.
But I didn't found anything that tells me i can use nested properties from my datasource.

Does Telerik Reporting tool support this ?
Thanks

BR,

Steeve
Matthias Auswöger
Top achievements
Rank 1
 answered on 24 Mar 2010
1 answer
123 views
Hi,

I'm trying to resize an element at bind based on properties of the data. I have a barcode object in a group header that is large for the first group and smaller for the subsequent groups. I want to resize the barcode and group header accordingly.

My data is in a DataTable and I have set two columns, for each height containing a Unit.Cm() with the required values. I've put these where I think they should go, in the relevant Bindings section with an expression equal to the columns.

However, at runtime I get a red box containing the error "Bindings error - an error occured while invocing the setter on property 'Height' with valuue '2.5cm'"

Please could you explain what I am doing wrong as there doesn't seem to be much documentation regarding using Bindings to change elements during the Bind events.

Thanks in advance
Joe
Top achievements
Rank 1
 answered on 24 Mar 2010
3 answers
241 views
I have a simple column to hold phone numbers. It is an nvarchar(20) to allow for standard phone numbers with extensions.

The first 14 digits will be a standard US phone number. The column allows NULL values and I want to format the data to the following:

(999) 999-9999. This is being done with an expression as follows:

="(" + Fields.PrimaryPhone.SubString(0,3) + ") " + Fields.PrimaryPhone.SubString(3,3) + "-" + Fields.PrimaryPhone.SubString(6)

The issue we are having is if a value is NULL, the expression errors out. I have tried an IIF function, but it does not fix the error condition. Here is the error we are receiving:

 

An error has occured while processing TextBox 'primaryPhoneDataTextBox':

Object reference not set to an instance of an object.

 

 

We have tried a conditional format prior to the expression, and that has not worked either...

Need some assistance as to how to do this...

Thanks...

 

Peter
Telerik team
 answered on 24 Mar 2010
1 answer
367 views

HI

i have read the other threads that are related but i can not get the viewer to run on my hosting servers, but it does run on my development servers. Fiddler reports that the http handler is not working when getting the images and style sheets see below.

i have included extracts from my web.config

 

<

 

 

system.web>

 

<

 

 

httpHandlers>

 

<

 

 

add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=4.0.10.310, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" validate="false" />

 

</

 

 

httpHandlers>

 

......

 

 


 

<

 

 

system.webServer>

 

<!--

 

 

validation validateIntegratedModeConfiguration="false" /> -->

 

<

 

 

modules runAllManagedModulesForAllRequests="true">

 

<!--

 

 

preCondition="manageC:\Users\Tricky\Documents\Visual Studio 10\Projects\Silverlight_Portal_4\Silverlight_Portal_4.Web\Web.configdHandler" -->

 

<

 

 

add name="DomainServiceModule" type="System.Web.Ria.Services.DomainServiceHttpModule, System.Web.Ria, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

</

 

 

modules>

 

<

 

 

validation validateIntegratedModeConfiguration="false" />

 

<

 

 

handlers>

 

<

 

 

add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=4.0.10.310, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode,runtimeVersionv2.0" />

 

</

 

 

handlers>

 

</

 

 

system.webServer>

 

 

 

 


 

<

 

 

location path ="Telerik.ReportViewer.axd">

 

<

 

 

system.web>

 

<

 

 

authorization >

 

<

 

 

allow users ="*"/>

 

</

 

 

authorization>

 

</

 

 

system.web>

 

</

 

 

location>

 

 

 

 




# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
2 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.ReportViewer.css 904 text/html iexplore:7716
3 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Resources.ParametersArea.css 904 text/html iexplore:7716
4 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Resources.ReportViewerInternal.css 904 text/html iexplore:7716
5 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Resources.ReportViewer.js 904 text/html iexplore:7716
6 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Resources.Parameters.js 904 text/html iexplore:7716
7 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.FirstPageDisabled.gif 904 text/html iexplore:7716
8 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.FirstPage.gif 904 text/html iexplore:7716
9 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.Background.gif 904 text/html iexplore:7716
10 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.PrevPage.gif 904 text/html iexplore:7716
11 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.PrevPageDisabled.gif 904 text/html iexplore:7716
12 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.NextPageDisabled.gif 904 text/html iexplore:7716
13 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.NextPage.gif 904 text/html iexplore:7716
14 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.LastPage.gif 904 text/html iexplore:7716
15 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.LastPageDisabled.gif 904 text/html iexplore:7716
16 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.Refresh.gif 904 text/html iexplore:7716
17 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.RefreshDisabled.gif 904 text/html iexplore:7716
18 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.Print.gif 904 text/html iexplore:7716
19 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.PrintDisabled.gif 904 text/html iexplore:7716
20 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.DocumentMap.gif 904 text/html iexplore:7716
21 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.Loading.gif 904 text/html iexplore:7716
22 404 HTTP i-possum.com /Demo/Telerik.ReportViewer.axd?optype=Resource&version=4.0.10.310&name=Skins.Default.Splitter.gif 904 text/html iexplore:7716

Steve
Telerik team
 answered on 24 Mar 2010
2 answers
404 views
I reviewed the article about the three possible causes for this error but none seem to apply for my situation. My function is very simple with no parameters, so #2 and #3 can't apply, plus I've rebuilt the project many times so I don't think it is #1. The error goes away when i set Visible=false for the parameters' UI. I was able to choose the function from within the ReportParameter Collection Editor under "User Functions", and the Editor then automatically set the Value of the parameter to "= GetDefaultFromDate()" (without the quotes)

GetDefaultFromDate() is defined in the same class as the report as the following:

  public static DateTime GetDefaultFromDate() 
  { 
    return DateTime.Now.AddMonths(-1); 
  } 


This is for an ASP.NET 3.5 website written in C#. I was first using Telerik Reporting Q3 2009, but upgrading to Q1 2010 did not resolve the issue.  Please let me know if you need any other information to understand my problem.

Thanks,
David

The expression contains undefined function call GetDefaultFromDate(). 
   at Telerik.Reporting.Expressions.FunctionNode.Eval(Object row, Object context) 
   at Telerik.Reporting.Processing.ParametersManager`1.CalculateValue(T parameter, Object definitionValue, IDictionary`2 newValues) 
   at Telerik.Reporting.Processing.ParametersManager`1.Calculate(T parameter, IDictionary`2 parameterValues) 
   at Telerik.Reporting.Processing.ParametersManager`1.GetParameters(IDictionary`2 parameterValues) 
   at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e) 
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

Dave Bierbaum
Top achievements
Rank 1
 answered on 23 Mar 2010
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?