Telerik Forums
Reporting Forum
5 answers
957 views

My customer wants rounded corners on thier report or subreport.

I have the rounded cornders on the charts but is there any way to create them on
reports,subreports, tables or lists?  I thought about using a shape around the report but the report changes size according to the data that is fed into it.

thanks,
Steve
Telerik team
 answered on 20 Aug 2010
1 answer
129 views

I'm creating a dashboard report where the data is coming from a non-standard source.

Is it necessary to use the NeedDataSource Event to bind the entire report? What if I didnt' want to use it at all..what would I loose?

In my case I need to query the source once and get the data for the entire report.
I was thinking it might be better in my case to get the data from the source and then call the NeedDataSource event for the individual items of the report(tables, lists and etc) instead of creating an object to build the entire report.

Seems like using the NeedDataSource event for the individual charts and other report items on the report would render faster because once the data has been retrieved the child report items could begin rendering at the same time.

Is there any reason I can't bypass the NeedDataSource for things like the Header for the report and just bind the items directly?

thanks,

Tim
Steve
Telerik team
 answered on 20 Aug 2010
1 answer
94 views
Hello

Probably a simple question and solution but I am having trouble lining up my axis labels directly under my axis marks?

Basically I want to line up my tick mark labels directly beneath the tick marks.  Currently they are centered between tick marks.

I have attached a screen shot of how mine graph currently looks.

Thanks for the help.
Steve
Telerik team
 answered on 20 Aug 2010
0 answers
490 views
Hi
I want to set value in textbox placed in report header section
i see following threads to do it
http://www.telerik.com/community/forums/reporting/telerik-reporting/assign-value-programmatically-to-textbox-in-page-header.aspx
http://www.telerik.com/community/forums/reporting/telerik-reporting/how-to-change-the-content-of-a-textbox-programmatically.aspx
Here is my code
rptAccLedgerReport myReport = new rptAccLedgerReport();
myReport.prm1.Value = "A/c:" +vAccName;
myReport.prm2.Value = "From: " + vFromDate + " To: " + vToDate;
rptAccLedger rptSource = new rptAccLedger();
myReport.DataSource = rptSource.dataSource(vAccNo,vFromDate,vToDate);
rptViewer.Report = myReport; //Set report to reportviewer control

//Here prm1 is text box name and i make it public
When i debug it value is set in text box but when report is rendered value is not displayed 
i also try this
Telerik.Reporting.Report report = (Telerik.Reporting.Report)rptViewer.Report;
Telerik.Reporting.TextBox txt = report.Items.Find("prm1", true)[0] as Telerik.Reporting.TextBox;
txt.Value = "A/c:" + vAccName;
but it does not work
Please help me what is my mistake?
Saima Gul
Top achievements
Rank 1
 asked on 20 Aug 2010
2 answers
133 views
Hi,

I upgrade recently my web application thah used Telerik Reporting 2009 Q2 with II 6.0 + Framework 3.5 to Telerik Reporting 2010 Q2 with IIS 7.0 + Framework 4.0
 
I deployed my web application using Telerik Reporting 2010 Q2 and IIS 6.0 + Framework 4.0 and gets a error, over Visual Studio 2010 the reports display it correctly but over IIS display the following error:

Message:

Exception of type 'System.Web.HttpUnhandledException' was thrown.

Inner Exception:

The type initializer for 'Telerik.ReportViewer.WebForms.AjaxHelper' threw an exception.

  Thanks in advance,
Edgar.
Edgar
Top achievements
Rank 1
 answered on 20 Aug 2010
2 answers
110 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
143 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
111 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
37 views
How to set the value of ReportParametersNullText in the Silverlight ReportViewer?
Steve
Telerik team
 answered on 19 Aug 2010
9 answers
1.2K+ 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
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?