Telerik Forums
Reporting Forum
0 answers
81 views
I know i'm well beyond the intended use of Telerik Reporting, but i keep thinking there should be some creative and interesting way to do this.

What i want to do is use Telerik Reporting to generate some printed handouts.  There are about a dozen different ones, with the same template but different text/images.  The trick i'm running into is, any one handout may have X images, where X is between 0 and 5.  Additionally, i want text to either flow around them, or at least be broken by them (text above and below).  It would look like this


Blah blah blah blah blah 
blah blah blah blah blah 
          <IMAGE1>
blah blah blah blah blah
blah blah <IMAGE2
blah blah   IMAGE2>
blah blah blah blah blah

(example attached)

In a perfect world, the HTML textbox would accept all HTML, and i could use <img src...> and floats to solve this, but i understand the HTML text box is limited in function.  Does anyone have a brilliant notion on how to do this? or should i just save each side of my handout as an image and forget about my pipe dream here?
IIJ Tech Support
Top achievements
Rank 1
 asked on 24 Apr 2012
3 answers
103 views
Hi. 
I have a little problem, but can't handle it.
I have designed simple crosstable with drilldown.
In Designer's preview mode all works good. But when report is showed by silverlight application, drilldown toggle button (with +/-) is not visible. Beside this it works good when i click on its place (place, where it should be).


Can somebody help me? I appreciate any advices or critics.
Steve
Telerik team
 answered on 24 Apr 2012
11 answers
703 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
271 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
243 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
117 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
255 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
232 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
160 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
130 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
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?