Telerik Forums
Reporting Forum
0 answers
97 views
I have add a reports to reportbook is ok. but when to print it's error :

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.ReportViewer.Wpf.ReportViewerModel.Print()
   at Telerik.ReportViewer.Wpf.ReportViewerModel.PrintReportCommandImpl.Execute(Object parameter)
   at Telerik.ReportViewer.Wpf.ReportViewerModel.Command.System.Windows.Input.ICommand.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at Telerik.Windows.Controls.RadButton.OnClick() in c:\Dev3\branches\2010.Q3.Release\Core\Controls\Buttons\RadButton.cs:line 348
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at System.Windows.Window.ShowDialog()
   at TP.QLBH2011.Views.Bussiness.StockExp.CtrSaleProduct.btnInHDGTGT_Click(Object sender, RoutedEventArgs e) in E:\WPF\New folder\New folder\New folder (4)\TP.QLBH2011-19.6.2011-12.09 PM\TP.QLBH2011-22.4.2011-1.46 PM\TP.QLBH2011\Views\Bussiness\StockExp\CtrSaleProduct.xaml.cs:line 500
>>>>>>>>>i not understand! Admin can you help me? thanks you very much!
thangnv
Top achievements
Rank 1
 asked on 28 Jun 2011
1 answer
70 views
When I move my application to a different server I get the 'Report is unavailable or sessions expired' error I've read about.  The ASP.NET report viewer on a webpage on the same machine works fine.  Since it works on my other servers, this must be machine specific and it's different because it's server 2008, IIS 7.5.
I'm looking at the Session State page and the Session State Mode is set to 'In process'  This should be fine right?  It's on a dedicated server.  What else should I look for?
danparker276
Top achievements
Rank 2
 answered on 27 Jun 2011
6 answers
280 views
Hi Everyone,

i'm trying to solve the following "problem":

I have a database view which returns, lets say, 10 rows with data. One of the fields returned by the view contains a folder path string.

2 folders have a folder path like "RootFolder\Subfolder1"
3 have "RootFolder\Subfolder1\SubSubFolder1"
1 has "RootFolder\Subfolder2"
4 have " "RootFolder\Subfolder3"

So my target is to get the following bookmark tree:

RootFolder
|_________Subfolder1
                   |________SubSubFolder1
|_________Subfolder2
|_________Subfolder3


But currently i'm getting the following bookmark tree generated by the report engine:

RootFolder\Subfolder1
RootFolder\Subfolder1\SubSubFolder
RootFolder\Subfolder2
RootFolder\Subfolder3

I sorted the data by the folder field, so the "structure" is correct, but the tree is not nested. How can i created a nested bookmarkt tree out of folder path strings? Is that possible?

Regards,
Michael
Michael Hilgers
Top achievements
Rank 1
 answered on 27 Jun 2011
1 answer
78 views
Hi,
   How can i draw custom gridline in telerik report bar chart, similar like in telerik chart.
Any idea ?
Steve
Telerik team
 answered on 27 Jun 2011
1 answer
97 views
I need a seemless integration of silverlight in our own application.
The problem ist that the ViewModel property of the ReportViewer is private.
I have no chance to save a file with own workflow without clicking the toolbar.

How to to disable toolbar bar? how to export and navigate with own controls?

kind regards


Steve
Telerik team
 answered on 27 Jun 2011
0 answers
126 views
Hi

I have a class called StatusPercentage with the follwoing properties

AvailablePercentage
ReservedPercentage
OccupiedPercentage
CancelledPercentage

All the above properties are double data type.

I have to display a list of the above class objects using Pie Charts. i.e. for each object, one pie chart should be displayed. And teh number of objects in the list is not fixed. So, the number of pie charts to be displayed also is not fixed. So, pls let me know can it be possible to display the pie charts dynamically based on the items count in the data source. It would be really gr8, if u can provide me with an example asas, as it is almost deadline for us to impelment it.

Thanks in advance
Ravindra

RAVINDRA
Top achievements
Rank 1
 asked on 26 Jun 2011
0 answers
101 views
I want to know how to make Telerik reporting  connected with stored procedure that contain virtual table every time I use this stored procedur there is error said that can't make Telerik report with virual table.
Mahmoud
Top achievements
Rank 1
 asked on 26 Jun 2011
0 answers
112 views
Hi I'm using the telerik reporting tool for the first time and I want to connect my reports  with my entity data model. how can I do it by code without using the wizard?
I'm using Entity Framework 4 and Telerik reporting Q2 2010
Cristian
Top achievements
Rank 1
 asked on 24 Jun 2011
6 answers
713 views
Has a distinct count function been added to the product yet?
Thanks!
Shane Woodruff
Top achievements
Rank 1
 answered on 24 Jun 2011
1 answer
157 views
Hi,

Got a new pc (64 bit), moved my vs 2010 project to the new pc from old pc(32 bit). installed latest telerik reporting, Run a succesful report upgrade wizard on the project, but now I get this error and it can not run report wizard.

Also I am not sure if my build configuration settings are correct.

Hope anyone can help me..


Steve
Telerik team
 answered on 24 Jun 2011
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?