Telerik Forums
Reporting Forum
1 answer
127 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
168 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.2K+ 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
139 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
58 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
213 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
216 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
626 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
1 answer
67 views
I want to bind a subset of my data source to chart object on my Telerik report and I cannot figure out how to accomplish this.

public class MyObject
{
    public int ID { get; set; }
    public string Name { get; set;}
    public List<MySubObject> SubList { get; set; }
}
 
public class MySubObject
{
    public int ID { get; set; }
    public decimal Percentage { get; set; }
    public string SurveyGroupName { get; set;}
}

I want to bind my chart object to the SubList property in the MyObject class.



Michael Kniskern
Top achievements
Rank 1
 answered on 13 Sep 2012
1 answer
79 views
Hi I am currently trying to create a report that contains times used on each customer each specific day, currently I am stuck at ordering them by weekday so I get

----------
Monday

Tuesday

Wednesday

Thursday

Friday
'''''''''''''''''''

Basically I have a list of time entries that contains something like
String customername
int customerid
custom class Update
---
custom classs(Relevant members):
DateTime LastUpdate
so there might be more times for one customer each day like this

snippet from list
.....
name=x, timespent=1 update=10.10.10 10:10:10
name x, itmespent=2 update = 10.10.10 11:11:11
.....

apart from this I want a total number at the end of each day (hours spent that day) and a total at the end of the report, total time used on each customer and total time used that week, here's the desired result

___________________
[header]
monday
customer1  2
customer2 2
x:::::::::::::::::3
total time spent day 7
[the monday block for the rest of the days in a week]
Total
Customer1 20
customer 2 10
x:::::::::::::::::10
total time spent 40
'''''''''''''''''''''''''''''''''''''''''''''''''''''
at the current point I created a group that is sorted by each day, from here I am blank
Anders
Top achievements
Rank 1
 answered on 13 Sep 2012
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?