Telerik Forums
Reporting Forum
3 answers
1.4K+ views
I have a report that is 7.5 inches wide but the details section expands at runtime even if it (the details section) is not visible. There is a warning in the designer that the report is too wide to fit on the page. I'm using version Q2 2012 SP1. Is there a way to limit the width of the details section?
IvanY
Telerik team
 answered on 17 Sep 2012
1 answer
195 views
We have an ASP.NET AJAX application that uses Telerik Components including Telerik Reporting. We have three distinct environments viz., Development, Staging and Production. We currently have connection strings for each of these environments in Web.Config and have a setting that indicates which environment we are currently in. Depending on the environment setting, we use the appropriate connection strings.

When it comes to Telerik Reporting, we are setting the connection string of the report designer to use the application connection string of a specific environment. However, when moving the application to a different environment say for example 'Production' we have to go into each of the those reports and point all the datasources to use the connection string pertaining to 'Production'.

Is there any better way to handle this instead of changing it in every single report and for every deployment to a different environment?

Appreciate your input and help...
IvanY
Telerik team
 answered on 17 Sep 2012
1 answer
156 views
I have added a crosstab to a report and had it displaying as we wanted on an asp.net page. When I then added an action to one of the fields of the crosstab to link to another report a box-shadow was added when hovering over the linked fields. Is there any way to change the hover behavior to remove the shadow?
Peter
Telerik team
 answered on 14 Sep 2012
1 answer
198 views
 Hi,
 
 I was wondering if it is possible to link multiple tables by named fields or keys just like in Crystal reports. A join strategy was then selected to sum the tables into a single set of relational records.
Peter
Telerik team
 answered on 14 Sep 2012
3 answers
1.3K+ views
I am trying to fill a bar graph with stripes so that it looks like the attached image. Is there a way to do this? How about other patterns?

Thanks, 

Matthew
Chavdar
Telerik team
 answered on 14 Sep 2012
1 answer
165 views
Hi,
I have searched here for samples for setting the reportviewer's height to %100.
All of the answers and samples  i have found are about reportviewer is added to a single web page. Which is not inside a master page.

Could you provide a sample code to set the reportviewer's height to %100 when the web project has a master page and reportviewer is inside a contentplaceholder.

Thanks.
Chavdar
Telerik team
 answered on 14 Sep 2012
1 answer
74 views
Hi,
I have a web project which has a Masterpage containing content place holders.

And I have a telerik reportviewer item in one of my pages(using masterpage).
In google chrome everything is fine with rendering with the report.
Bun in IE8 after selecting the proper report parameters i press the preview button on the report. The "Generating the report" indicator appears. But nothing is rendered on the screen. What i see is just the reportviewers toolbar and parameters section. The reports content looks to be not rendered with IE8.

When i get rid of master page the rendering in IE8 works fine again.

Is there a way to get reportviewer properly render in IE8 with master paged web site?

Thanks.

Chavdar
Telerik team
 answered on 14 Sep 2012
6 answers
236 views
I've been struggling to get the Silverlight Report Viewer running properly in Visual Studio 2010. I created a new project and followed the video tutorial found here, and I keep getting this error:

There is no available report type with assembly qualified name 'ReportLibrary.BasicReport, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Could not load file or assembly 'ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I'm not sure what I'm doing wrong, I tried creating another project and followed the video again thinking I forgot something but after a few tries I still get the error. The video is from Q3 2009 so maybe there's some small difference between the latest Q2 2010 version and the version in the video that is throwing me off.

I should mention that I originally created the project in .NET 4.0, in this help document It recommends.NET 3.5 so I tried creating and running a .NET 3.5 Silverlight App in VS2010 but still no luck. The project I would like to add the Report Viewer to is running on .NET 4.0, can I use the Report Viewer in .NET 4.0 or do I need to use .NET 3.5?

Please let me know if there is anything else you need from me, any help is appreciated.

Thank you.
Jose
Top achievements
Rank 1
 answered on 14 Sep 2012
2 answers
246 views
I don't use SDK. Only Telerik. I correctly understood, what shall add reference library System.Windows.Controls from SDK's pack?

{System.Windows.Markup.XamlParseException: The type 'GridSplitter' was not found because 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls' is an unknown namespace. [Line: 6 Position: 30] ---> System.InvalidOperationException: A ResourceDictionary '/Telerik.Windows.Themes.Transparent;component/Themes/Telerik.ReportViewer.Silverlight.xaml' cannot be found. Please make sure that references to the needed theme assemblies have been added to the project. ---> System.Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.
   w MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   w MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, String s)
   w MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)
   w System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)
   w System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)
   w System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   w System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
   w System.Windows.ResourceDictionary.set_Source(Uri value)
   w Telerik.Windows.Controls.Theme.GetCachedResourceDictionary(Uri uri)
   --- Koniec Å›ladu stosu wyjÄ…tków wewnÄ™trznych ---
   w Telerik.Windows.Controls.Theme.GetCachedResourceDictionary(Uri uri)
   w Telerik.Windows.Controls.Theme.GetResourceFromTheme(Theme theme, String controlAssembly, Type defaultStyleKeyType, Theme controlTheme)
   w Telerik.Windows.Controls.Theme.GetResourceValue(Type defaultStyleKey, Theme theme, Theme controlTheme)
   w Telerik.Windows.Controls.Theme.GetThemeStyle(Theme oldTheme, Type defaultStyleKey)
   w Telerik.Windows.Controls.Theme.Apply(FrameworkElement element, Theme oldTheme)
   w Telerik.Windows.Controls.StyleManager.OnThemeChanged(DependencyObject target, DependencyPropertyChangedEventArgs changedEventArgs)
   w Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   w System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
   w System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   w System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
   w System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   w Telerik.Windows.Controls.StyleManager.SetTheme(DependencyObject element, Theme value)
   --- Koniec Å›ladu stosu wyjÄ…tków wewnÄ™trznych ---
   w System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   w ReState.View.ReportsView.InitializeComponent()
   w ReState.View.ReportsView..ctor()}

Telerik Silverlight v. 2012.2.903.1050
Telerik.ReportViewer.Silverlight v. 6.1.12.611

ADM-IT Denis Pujdak
Top achievements
Rank 1
 answered on 14 Sep 2012
3 answers
676 views
I'm working on Telerik Report Designer (to be specific, not Visual studio)
I'm facing problem in passing multivalue parameter to proc
In proc, I have the parameter as: @parTest varchar(1000)

select data into #Temp1 from Products where data in (@parTest)

If I select a single value, the report runs good
But, if multiple values are selected, then I see the error in preview as :
'Procedure xyz has too many arguments specified'

how to pass MULTIVALUE parameter to db from telerik REPORT DESIGNER?
and how to use that parameter in proc ?

In some thread I saw:
"How do you pass multi value paramas to sql datasource?  I am trying to pass multi-value params but receive error  as below.  Would you please advise on how to do this or do you have an example/sample for multi-value params report somewhere that I can download? 
Failed to convert parameter value from a Object[] to a String.
------------- InnerException -------------
Object must implement IConvertible."

Reply:
"The DataSource Components don't work out of the box with a MultiValue Report Parameter since the current implementation is based on ADO.NET and does not allow you to pass a collection of values (set, array). Thus, the SqlDataSourceParameter accepts only single values corresponding to the SqlDataSourceParameter.DbType property. Although this is a known limitation of ADO.NET and not a problem of our product, we're currently working on possible solution for it and it would be part of the upcoming Q2 SP1."

fyi, I'm using Q2 - 2012

I also see:
"Currently the new DataSource Components don't work out of the box with a MultiValue Report Parameter. In order to use a multivalue Parameter you will have to create User Function that bulds a String from multivalue Parameter (Object[]) and use that string to set a SqlDataSource SelectCommand in the NeedDataSource event. Check out the attached sample project that illustrates how this scenario can be accomplished."

how can add the function in telerik report DESIGNER?
Peter
Telerik team
 answered on 13 Sep 2012
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?