Telerik Forums
Reporting Forum
4 answers
442 views
Hi All - I know there have been other threads on this but OIY! this problem is a pain.  I am trying to get a grip on the issue with passing incorrect datatypes to user defined functions thus generating this error.

I have a simple test function

 

 

public static decimal hellodecimal(decimal arg1) { return arg1; }

 


doesnt get any more simple eh?

When I call this function from the detail section on a report it works well

=hellodecimal(Fields.SomeDecimalField)

BUT

If I call this from a group section and include an aggregate function, like ...

=hellodecimal(Sum(Fields.SomeDecimalField))

THEN I get the error  "The expression contains undefined function call hellodecimal()"

So it seems like "=Fields.SomeDecimalField"  and "=Sum(Fields.SomeDecimalField)" return different data types, is this true?
Joie
Top achievements
Rank 1
 answered on 17 Apr 2013
1 answer
79 views
Hello, our developers are currently testing a project on the Telerik Reporting Trial version.
Is there a page that provides information on the restrictions of the Trial version?

For instance, we have the Power Point export available in DocumentFormat.OpenXml.dll Export Format while testing, but missing the PPT export when the project is deployed.

Also, we see that there are misalignments when using shapes or highlighting borders and exporting to PPT or PDF.
The style that we implement do not show properly.
Is this a generally known issue in Telerik itself or just in the Trial version?

We see a lot of page breaking and misalignment issues when using IE Compatibility mode.
What are the recommended IE Browser version and settings?

Please let us know so we could further explore and decide whether to purchase or not.
Thank you!
Stef
Telerik team
 answered on 16 Apr 2013
3 answers
127 views
I have a report that builds up dynamic columns based on user selection. I wrote the code for this by referring this link:
http://www.telerik.com/ClientsFiles/247146_AutoGenerateColumns.zip
provided in one of the threads.
The report was working fine until I upgraded to Q1 2013. After the update the report renders with the value of the first column as the value for all other columns all though the column headings are rendered correctly. Please find attached screenshots for both the versions. The code given in the link which is  windows forms project is working fine after update. I am doing this in asp.net and the only thing I did was update it after which the problem occurs.
On another note, My client is about to the buy the license. I was wondering if we can use any of the versions (Q2 2012 or Q1 2013) after the license is bought. Because if we cant use Q2 2012 and if there s no fix for the above issue then there is no point in buying the license.
Peter
Telerik team
 answered on 16 Apr 2013
1 answer
73 views
Hi!

Since there is no event for "document has been printed" I tried to use the State property of ReportViewerModel. ReportViewerStates enumeration defines three states: "PrintNoPrint", "PrintInProgress" and "PrintComplete". I don't know if this is an error but "PrintComplete" is never reached. During printing the State property changes from PrintInProgressState to PrintNoPrintState. What I expect is that at least once the PrintCompleteState is triggered when the document was sent to the printer.

Is there any other way to determine wether a document has been printed?

Regards
Neils
Peter
Telerik team
 answered on 16 Apr 2013
11 answers
163 views
Hi,

I'm getting a crash on my install. This has happened straight after the upgrade to Q1 2013.  I can access the code behind for a reporyt and work on that however as soon as I start the designer and click on a report object VS 2008 falls over.  I've got the DEVENV.log file and shown below although it seems very concise for a log file.  Could the "Assembly resolution failed" lines be causing this?

Regards,

Jon

Entering constructor for: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering Initialize() of: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering constructor for: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering Initialize() of: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering constructor for: Telerik.Web.UI.VSPackage.VSPackage
Entering Initialize() for: Telerik.Web.UI.VSPackage.VSPackage
Entering constructor for: Telerik.WinControls.VSPackage.VSPackage
Entering Initialize() for: Telerik.WinControls.VSPackage.VSPackage
Entering constructor for: Telerik.Reporting.VsPackage.VsPackage
Entering Initialize() of: Telerik.Reporting.VsPackage.VsPackage
ToolboxInstaller::GetVsVersion VS RegistryRoot HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0
Assembly resolution failed: Telerik.UserSettings.2013.1.219.0.XmlSerializers, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.UserSettings.2013.1.219.0, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.219.0.XmlSerializers, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.219.0, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.UserSettings.2013.1.215.0.XmlSerializers, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.UserSettings.2013.1.215.0, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.215.0.XmlSerializers, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.215.0, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Entering constructor for: Microsoft.VisualStudio.ShellConfig.ShellConfigPackage
Entering Initialize() of: Microsoft.VisualStudio.ShellConfig.ShellConfigPackage


Jon
Top achievements
Rank 1
 answered on 16 Apr 2013
14 answers
546 views
Hi,
I'm totally new to Telerik reporting and I have a question. I'd like to create a report that displays all of the products that I sell on my website and the quantity sold for each product. I was thinking of doing it with a bar chart report. Are there any good examples out there that would walk me through this?

Thanks
Stef
Telerik team
 answered on 16 Apr 2013
3 answers
120 views
Hi,
I have successfully created a "Radar with Markers" in the standalone report designer. The only thing missing is the line between the last dot and the first dot in each series. Is there a checkbox somewhere or is it my data source.

My data source looks like this:
Created Label   QuestionHeader  Score
2012-12-21  21. december 2012   1. Har du en ide om hvilket arbejde, du gerne vil have? 2
2012-12-21  21. december 2012   2. Hvordan har du det med at tage kontakt til nogle du ikke kender? 4
2012-12-21  21. december 2012   3. Hvor god er du til at samarbejde med andre?  4
2013-01-28  28. januar 2013 1. Har du en ide om hvilket arbejde, du gerne vil have? 4
2013-01-28  28. januar 2013 2. Hvordan har du det med at tage kontakt til nogle du ikke kender? 5
2013-01-28  28. januar 2013 3. Hvor god er du til at samarbejde med andre?  4
2013-03-12  12. marts 2013  1. Har du en ide om hvilket arbejde, du gerne vil have? 2
2013-03-12  12. marts 2013  2. Hvordan har du det med at tage kontakt til nogle du ikke kender? 4
2013-03-12  12. marts 2013  3. Hvor god er du til at samarbejde med andre?  4
... ... ... ...

Best regards,
René
Stef
Telerik team
 answered on 16 Apr 2013
3 answers
214 views
Is there a method for dropping fields onto the report during design time. Like in MS Access where you can pull up the field list and drag and drop the fields onto the report rather than having to go through the process of dropping a textbox then going in and setting the binding. Its very time consumming when there are lots of textboxes. Also is ther a default setting for when you click the Value property of a control to open directly to the Fields rather than having to always click on it, seems like the vast majority of the times that is what is needed. Thanks for any help
Altec
Top achievements
Rank 1
 answered on 16 Apr 2013
1 answer
96 views
Hi,

We have some library that specifically take a PrintDocument object and then handle printing in a very customized manner.  We would like to feed a rendered report to the library but it seems that there is no way for us to process the report and convert it to a PrintDocument.  

It seems that Telerik Reporting still make use of PrintDocument internally when performing report printing.  Is there anyway that we can get the PrintDocument from the processing engine?

Thanks~
Peter
Telerik team
 answered on 16 Apr 2013
5 answers
212 views
Hello,

When i try to run my asp.net website it runs perfectly well on local machine.
But,
       when i publish & upload the website,and try to run the site, I get the following Error :


/************************************************************************************************************************************************************************/
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=2.9.9.202, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 76:     <httpHandlers>
Line 77:       <remove path="*.asmx" verb="*"/>
Line 78:       <add verb="*" path="Telerik.ReportViewer.axd" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=2.9.9.202, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>
Line 79:       <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
Line 80:       <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

/************************************************************************************************************************************************************************/

Please help me to solve the problem.

Thanks,
Jaspreet.
Elliott
Top achievements
Rank 2
 answered on 15 Apr 2013
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?