Hello. I have big problem with reportViewer. I try to put it on RadDocumentPane like this:
<telerikDocking:RadDocumentPane x:Class="Gcg.Olb.Client.ReportModule.Views.ReportDocumentPane" xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" xmlns:tr="http://schemas.telerik.com/wpf" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"> <Grid> <tr:ReportViewer/> </Grid></telerikDocking:RadDocumentPane>WHen I try to add this pane to docking control I receive 2 Object null refence errors and ReportView is not displaing. I need to move my application window to display it. And in output window I have many errors:
System.Windows.Data Error: 40 : BindingExpression path error: 'NavigateBackCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=NavigateBackCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'NavigateForwardCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=NavigateForwardCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'StopRenderingCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=StopRenderingCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'RefreshReportCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=RefreshReportCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'MoveToFirstPageCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=MoveToFirstPageCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'MoveToPreviousPageCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=MoveToPreviousPageCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsMoveToPageEnabled' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsMoveToPageEnabled; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBoxEx' (Name=''); target property is 'IsEnabled' (type 'Boolean')
System.Windows.Data Error: 40 : BindingExpression path error: 'PageNumberModel' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=PageNumberModel; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBoxEx' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'NavigateToSpecificPageCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=NavigateToSpecificPageCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBoxEx' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'TextResources' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=TextResources.LabelOf; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'PageCount' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=PageCount; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'MoveToNextPageCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=MoveToNextPageCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'MoveToLastPageCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=MoveToLastPageCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'PageSetupCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=PageSetupCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'TogglePrintPreviewCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=TogglePrintPreviewCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadToggleButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsPrintPreviewChecked' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsPrintPreviewChecked; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadToggleButton' (Name=''); target property is 'IsChecked' (type 'Nullable`1')
System.Windows.Data Error: 40 : BindingExpression path error: 'PrintReportCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=PrintReportCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'RenderingExtensions' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=RenderingExtensions; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadComboBox' (Name=''); target property is 'ItemsSource' (type 'IEnumerable')
System.Windows.Data Error: 40 : BindingExpression path error: 'SelectedRenderingExtension' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=SelectedRenderingExtension; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadComboBox' (Name=''); target property is 'SelectedItem' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsExportEnabled' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsExportEnabled; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadComboBox' (Name=''); target property is 'IsEnabled' (type 'Boolean')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsDocumentMapVisible' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsDocumentMapVisible; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadToggleButton' (Name=''); target property is 'IsChecked' (type 'Nullable`1')
System.Windows.Data Error: 40 : BindingExpression path error: 'HasDocumentMap' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=HasDocumentMap; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadToggleButton' (Name=''); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsParametersAreaVisible' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsParametersAreaVisible; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadToggleButton' (Name=''); target property is 'IsChecked' (type 'Nullable`1')
System.Windows.Data Error: 40 : BindingExpression path error: 'HasParameters' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=HasParameters; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadToggleButton' (Name=''); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsParametersAreaVisible' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsParametersAreaVisible; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'Border' (Name='ParametersAreaPane'); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'VisibleParameterModels' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=VisibleParameterModels; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'ReportParametersControl' (Name=''); target property is 'ItemsSource' (type 'IEnumerable')
System.Windows.Data Error: 40 : BindingExpression path error: 'PreviewReportCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=PreviewReportCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'TextResources' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=TextResources.PreviewButtonText; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Content' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsPreviewButtonVisible' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsPreviewButtonVisible; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsUpdatingParameters' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsUpdatingParameters; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'DialogBox' (Name='UpdateParametersDialog'); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'UpdateParametersProgress' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=UpdateParametersProgress; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsUpdatingParameters' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsUpdatingParameters; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadProgressBar' (Name=''); target property is 'IsIndeterminate' (type 'Boolean')
System.Windows.Data Error: 40 : BindingExpression path error: 'DocumentMapWidth' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=DocumentMapWidth; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'ColumnDefinition' (HashCode=28417134); target property is 'Width' (type 'GridLength')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsDocumentMapVisible' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsDocumentMapVisible; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'Border' (Name='DocumentMapPane'); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'SelectedDocumentMapNode' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=SelectedDocumentMapNode; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadTreeView' (Name='DocumentMapTreeView'); target property is 'SelectedItem' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'DocumentMapNodes' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=DocumentMapNodes; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadTreeView' (Name='DocumentMapTreeView'); target property is 'ItemsSource' (type 'IEnumerable')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsDocumentMapVisible' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsDocumentMapVisible; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'GridSplitter' (Name=''); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsInProgress' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsInProgress; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'DialogBox' (Name='ViewerProgressMessage'); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'ProgressMessage' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=ProgressMessage; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsInProgress' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=IsInProgress; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadProgressBar' (Name=''); target property is 'IsIndeterminate' (type 'Boolean')
System.Windows.Data Error: 40 : BindingExpression path error: 'Error' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=Error; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBox' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'HasError' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=HasError; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBox' (Name='ViewerError'); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'ShowExportDialog' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=ShowExportDialog; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'DialogBox' (Name='ExportDialog'); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'ExportProgress' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=ExportProgress; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'ShowExportDialog' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=ShowExportDialog; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadProgressBar' (Name=''); target property is 'IsIndeterminate' (type 'Boolean')
System.Windows.Data Error: 40 : BindingExpression path error: 'CancelExportCommand' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=CancelExportCommand; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')
System.Windows.Data Error: 40 : BindingExpression path error: 'TextResources' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=TextResources.CancelButtonText; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadButton' (Name=''); target property is 'Content' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'Zoom' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=Zoom; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadSlider' (Name=''); target property is 'Value' (type 'Double')
System.Windows.Data Error: 40 : BindingExpression path error: 'AvailableZoomValues' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=AvailableZoomValues; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadComboBox' (Name=''); target property is 'ItemsSource' (type 'IEnumerable')
System.Windows.Data Error: 40 : BindingExpression path error: 'ZoomText' property not found on 'object' ''ShellViewModelV2' (HashCode=49729368)'. BindingExpression:Path=ZoomText; DataItem='ShellViewModelV2' (HashCode=49729368); target element is 'RadComboBox' (Name=''); target property is 'Text' (type 'String')