Telerik Forums
Reporting Forum
2 answers
123 views
Hi,
Maybe can anybody explain in detail, how add reportBook and bind it to reportViewer in Siverlight application?
Jara
Top achievements
Rank 1
 answered on 19 Aug 2010
1 answer
156 views

I have a Telerik Reporting Q3 2009 installed on my system.

But right now I am developing a WPF application and need the Telerik Report Viewer.

I installed the Telerik Report Q1 2010 and I did not uninstall the Telerik Q3 2009.

Do I have to uninstall it? What effect would it have on my application if I uninstalled?

I also have Telerik Rad Controls installed on my system.

I installed the Telerik Q1 2010 and I referenced the Telerik.ReportViewer.wpf  assembly in my VS2008 namespace and then I am trying to add  my Report Viewer to my WPF Window designer and it gives me the following error

Cannot find DependencyProperty or PropertyInfo for property named 'SelectionBoxTemplate'. Property names are case sensitive.  Error at object 'Telerik.Windows.Controls.RadComboBox' in markup file 'Telerik.ReportViewer.Wpf;component/Themes/Default/ReportViewer.xaml'.

   at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)   at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)   at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException)   at System.Windows.Markup.BamlRecordReader.ThrowException(String id, String parameter)   at System.Windows.Markup.BamlRecordReader.ReadPropertyComplexStartRecord(BamlPropertyComplexStartRecord bamlPropertyRecord)   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)   at System.Windows.StyleHelper.LoadOptimizedTemplateContent(DependencyObject container, ParserContext parserContext, OptimizedTemplateContent optimizedTemplateContent, FrameworkTemplate frameworkTemplate, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)   at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)   at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)   at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)   at System.Windows.FrameworkElement.ApplyTemplate()   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.Controls.Border.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at MS.Internal.PageControl.DesignTimePage.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at MS.Internal.Designer.SimpleViewManager.DesignerBackground.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)   at Microsoft.Windows.Design.Interaction.DesignerView.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at MS.Internal.Designer.Viewport.MeasureOverride(Size availableSize)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)   at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.Controls.Control.MeasureOverride(Size constraint)   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)   at System.Windows.UIElement.Measure(Size availableSize)   at System.Windows.Interop.HwndSource.SetLayoutSize()   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)   at MS.Internal.Designer.VSIsolatedDesigner.ViewHolder.Initialize()   at MS.Internal.Designer.VSIsolatedDesigner.ViewHolder..ctor(UIElement content)   at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.get_ViewHandle()   at MS.Internal.Host.Isolation.IsolatedView.get_ViewHandle()   at MS.Internal.Designer.DesignerPane.LoadDesignerView()”



Here is my XAML Code in my WPF Window:

<Window

xmlns:my="clr- namespace:Telerik.ReportViewer.Wpf;assembly=Telerik.ReportViewer.Wpf"

xmlns:local="clr-namespace:Telerik.ReportViewer.Common;assembly=Telerik.ReportViewer.Wpf" 

Title="Report" Height="600" Width="600">

    <my:ReportViewer />

</Window>



How can i get rid of this error and continue with my work?
Steve
Telerik team
 answered on 19 Aug 2010
1 answer
128 views
Hi All,

In my chart Y-Axis values are vary with X-Axis. Since, X-axis values will be date & time values (like 18/Aug/2010 07:15:51:000PM). I would like to know how the date & time values are manually bind to X-Axis and also how to set minimum, maximum and step values for dates.

The attached file is my expected chart.
Ves
Telerik team
 answered on 19 Aug 2010
1 answer
52 views
How to set the value of ReportParametersNullText in the Silverlight ReportViewer?
Steve
Telerik team
 answered on 19 Aug 2010
9 answers
1.3K+ views
HI,

I am trying to bind data to a pie chart from codebehind file. I am executing a stored procedure using data adapter which inturn returns a single row with 5 columns. I want to show this data on a pie chart along with these column names as legends.
please suggest me some solution.

Thanks in advance,
Hans.
Steve
Telerik team
 answered on 19 Aug 2010
0 answers
103 views
Hi There,

I am playing around with the reporting controls for the first time and have a question about the right way to do something. Essentially, I cannot use a normal data source for my report. There is a significant amount of custom work that needs to be done on what is in SQL Server to produce the data needed for the report. This info needs to be combined with parameters entered by the user at the time the report is run.

I assume Object Data Sources are the way to go.

I have created a data set (the .xsd type) and created a data table that mirror the data I plan to feed into the report. I've then used that dataset to build my report design.

Then, to populate the data, I have done the following;

 

 

Dim x As New DataTable

 

 

 

Dim dr As DataRow

 

x.Columns.Add(

 

"Col1")

 

x.Columns.Add(

 

"Col2")

 

dr = x.NewRow

dr(

 

"Col1") = "test1"

 

dr(

 

"Col2") = "test2"

 

x.Rows.Add(dr)

 

 


Dim
g As New Report6

 

g.ObjectDataSource1.DataSource = x

ReportViewer11.Report = g

I have never really used data sets and tables before, generally everything is done using sql querys odbcdatareaders connected to grids and so forth.

Is this the best way forward, or am I missing something more basic or straight forward?

Shane

Shane Clay
Top achievements
Rank 1
 asked on 18 Aug 2010
2 answers
308 views
Hi All,

In my chart Y-Axis values are vary with X-Axis. Since, X-axis values will be date & time values (like 18/Aug/2010 07:15:51:000PM). I would like to know how the date & time values are manually bind to X-Axis and also how to set minimum, maximum and step values for dates.

The attached file is my expected chart.

Thanks in advance,
Regards,
Manoj
manoj
Top achievements
Rank 1
 answered on 18 Aug 2010
3 answers
144 views
Hello,

can a user customize or create its own report in runtime? (eg. adding and removing columns)

Thank you,
Manuel
malcolm
Top achievements
Rank 1
 answered on 18 Aug 2010
4 answers
357 views
I'm pulling my hair out on this problem.

What i need is a report where we have a reportheader and a pageheader.
The Pageheader should not appear on the firstpage, witch can be done using the PrintOnFirstPage=False.
When u use this workingmethod the Pageheader space will be reserved on the first page anyway.
So when my pageheader has a height of 2cm it will have a blank space of 2cm on my first page.
To me thats not a feature but a bugg, i can't see this as logic behavior. When i say, don't show the pageheader on the first page i don't wanne see a blank space :O|. (sorry its frustrating me)

I tried to use a groupheader in the detail section, with a panel in it. Then use the ItemDataBind event to check if i am on the first page or not. I did this with with a bool and i was planning to set the panel visible when i'm not on the first page.
But the ItemDataBind event gets only called once. Not on every page.

So i'm looking for an event that gets called on every page so i can set the panel visible true/false depending on what page i'm at.

Or another solution where i can use a reportheader and a pageheader (that don't show on the first page and don't give me with space).

I like the reporting tool so far tho. I kinda used all the features it has and it works fine. Just this one is annoying me bad.

Kelly Harris
Top achievements
Rank 1
 answered on 17 Aug 2010
1 answer
106 views
Hi I have a set of telerik reports running well form the development environment.  I complied and distributed the app including telerik.reporting.dll and telerilk.reportviewer.webforms.dll in the bin directory.  I also included the .resx file to test if it was a resource problem.  Basically the screen looks like capture.gif  what am I missing?  I'm using Q2 2010.
Steve
Telerik team
 answered on 17 Aug 2010
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?