Telerik Forums
Reporting Forum
11 answers
680 views
Hi,
I installed the Telerik Report Q 2012,but it dosn't existe when I do new item on visual studio 2010 web solution !
I check :
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\VisualBasic\Reporting 
and 
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\Reporting
It exsite in the 2 folders the zip : Telerik_Reporting_Q1_2012_Visual_Studio_11_Refresh
I have close the vs 
I excute the commande : 
C:\Program Files\Microsoft Visual Studio 10.0\VC>devenv /installvstemplates
but the telerik reporting does'n exeiste 



Berrabah
Top achievements
Rank 1
 answered on 24 Apr 2012
10 answers
250 views
I am using the Silverlight Report Viewer to render reports via the Telerik Reporting Service.   These reports worked fine when I was using Telerik Reporting 2011 Q3 SP 1 and RadControls for Silverlight 2011 Q3 SP1. My Silverlight Application hosting the Telerik Silverlight Viewer was set for targeting Silverlight 4.  

I recently upgraded to Telerik Reporting 2012 Q1 and RadControls for Silverlight 2012 Q1.   I also changed the Silverlight Application hosting the Telerik Silverlight Viewer to targeting Silverlight 5. 

Everything compiled without errors or warnings.  But when I ran the report I got the error and stack trace below.

1.)   Does the Telerik Silverlight Viewer for Telerik Reporting 2012 Q1 works with targeting Silverlight 5?
2.)   Are there breaking changes for targeting Silverlight 5 for Telerik Reporting 2012 Q1 and RadControls for Silverlight 2012 Q1?



Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.2; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; Zune 4.7)

Timestamp: Thu, 23 Feb 2012 22:10:15 UTC

 

 

Message: Unhandled Error in Silverlight Application

Code: 4004   

Category: ManagedRuntimeError      

Message: System.InvalidCastException: Specified cast is not valid.

   at Telerik.ReportViewer.Silverlight.ZoomConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)

   at System.Windows.Data.BindingExpression.ConvertToTarget(Object value)

   at System.Windows.Data.BindingExpression.UpdateTemporaryValue()

   at System.Windows.Data.BindingExpression.GetValue(DependencyObject d, DependencyProperty dp)

   at System.Windows.DependencyObject.EvaluateExpression(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry)

   at System.Windows.DependencyObject.EvaluateBaseValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)

   at System.Windows.DependencyObject.EvaluateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry newEntry, ValueOperation operation)

   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)

   at System.Windows.DependencyObject.RefreshExpression(DependencyProperty dp)

   at System.Windows.Data.BindingExpression.SendDataToTarget()

   at System.Windows.Data.BindingExpression.SourceAcquired()

   at System.Windows.Data.BindingExpression.System.Windows.IDataContextChangedListener.OnDataContextChanged(Object sender, DataContextChangedEventArgs e)

   at System.Windows.Data.BindingExpression.DataContextChanged(Object sender, DataContextChangedEventArgs e)

   at System.Windows.DataContextChangedEventHandler.Invoke(Object sender, DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)

   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyProperty dp)

   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)

   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)

   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)

   at Telerik.ReportViewer.Silverlight.ReportViewer.Initialize()

   at Telerik.ReportViewer.Silverlight.ReportViewer.OnApplyTemplate()

   at System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)    

 

Line: 33

Char: 5

Code: 0

URI: https://athos.sscs.ad/CPB/scripts/handle_silverlight_error-1.0.0.js

 
Thanks,

Charlie J.

Steve
Telerik team
 answered on 24 Apr 2012
2 answers
225 views
I have a report that has a 3 "rows" of textboxes in the Page Header section: a report title at the top, a date range in the middle, and a bunch of column headers in the last row.

Designer Image

When I do a report preview all of the text boxes show appropriately.

Preview Image

When I view the report in the application at runtime the title and column headers show, but not the textbox in the middle. We also use Excel exports a lot and the row is missing from there also.

In app image

What do I need to do or check to get this textbox to display on reports and exports?  As far as I can tell all the properties other than name, value, and fonts are the same between the top textbox and the middle one.

(Note: Placing the date here is a customer request... moving it really isn't an option.)
Dan A
Top achievements
Rank 1
 answered on 23 Apr 2012
1 answer
105 views
Dear People,

In my ASP.NET/C# application I create a SQL String based on user input. This SQL String can contain a different table, colums etc. everytime the user sets values. Now I need to make a report containing the return data of the database. The problem is, there are no default tables and colums, so I can't predefine them in the designer. Is it possible to generate a report in code, without predefining the tables and or colums? If yes, how can i realize this?

Thank you in advance!

Kind regards,
Wesley
Petio Petkov
Telerik team
 answered on 23 Apr 2012
2 answers
233 views
Hi,

this is my situation: I've a report library referenced in a Web Application; a Silverlight application can display reports using a WCF hosted on that web application, like is explained in this page. If I use a static connection strings (in the web.config file) all works fine. 

But I need to change the connection string based on user who request reports. For example User A have to access to database A_DB, user B have to access to database B_DB and so on.
I tried to pass user through a parameter so I can get the correct connection string and pass it to the datasources. But on report's constructor I don't have parameters data (I think this object will be populated with values passed from the client later in the report rendering's pipeline).

I think that I can pass the connection string on report's contructor, but this way will work on WinForm where I can create an instance of a report, but via WCF it is possible? Can I make a custome implementation of the Telerik.Reporting.Service.IResourceService interface?

What is the best way to achieve this?

Thanks
Gabriele
Top achievements
Rank 1
 answered on 23 Apr 2012
1 answer
211 views
Hi freinds,

I am using the telerik reporting control and when i deploy my project on the server the following error comes up

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


I have the following pathe mention in the http handlers of web.config:
<add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Line 128: validate="true" />

Can some one please specify the reason for this ..Thank you in advance

akpaga akpaga
Top achievements
Rank 1
 answered on 20 Apr 2012
7 answers
148 views
When I generate docx file with some images and diagrams, open it in Word and try to update all fields in document (select all, and then F9) all images are deleted from document and I see only rectangle with text, that image is broken.

This is the file, that was generated from telerik, where you can see such behavior. 

What is the right way to solve this problem? It's nesessary to generate table of content in document in my task.
Steve
Telerik team
 answered on 20 Apr 2012
5 answers
113 views
is there any way to get a copy of the SQL queries from the Telerik reporting Demos?

more specifically thie one: http://demos.telerik.com/reporting/sales-dashboard/demo.aspx
Steve
Telerik team
 answered on 20 Apr 2012
3 answers
118 views
Hi, I have recently upgraded from a very old version of Reporting to the latest, and I am having some issues.

My reports will render the headers etc but no rows are returned.  I have a class library project defining the reports, used in a VB web site.

So I have a development environment and it was showing no rows, I ran a trace and saw it issuing FMTONLY in the queries.  I googled that for hours and found lots of references to the use of temp tables in stored procedures in your report data sources.  but my TableAdapters do not use stored procs at all. They use sql views, and have select queries in the Adapters.

So I tweaked this and that until it got to be very late at night and then finally, at some point, it started to work!  It now issues correct queries and returns rows of data.

So I deployed it to my production environment... and now it has the no-rows problem.

I don't know what finally fixed the problem.  

I suspect it was a SQL Server setting as I have confirmed that the code running in both environments is the same.
don
Top achievements
Rank 1
 answered on 19 Apr 2012
3 answers
151 views
I have a problem with Reporting since I upgraded to 2012Q1.
In the designer I see my chart correct, but in the browser it shows the chart's plotarea expanded and clipped.
Also the chart looks like it is zoomed-in
See attached pictures to see what I mean.
Can anyone tell me what to do to get the size of the chart correct?
Regards
Frank
Steve
Telerik team
 answered on 19 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?