Click here to Skip to main content
15,906,624 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
I am integrating crystal reportviewer in WPF Application. I referenced SAPBusinessObjects.WPF.Viewer and SAPBusinessObjects.WPF.ViewerShared dll. I can see crystalreportviewer control in my design.But in my xaml.cs Crystalreportviwer control is showing null. I dont know where i am going wrong.I am developing in VS 2012 , .Net frameWork 3.5 and CR 13 is installed in my pc. Following code is my xaml code.

Window x:Class="WpfCrystalReport.frmLabelTemplate1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:SAPBusinessObjects.WPF.Viewer;assembly=SAPBusinessObjects.WPF.Viewer"
Title="MainWindow" Height="350" Width="525"
Grid
my:CrystalReportsViewer HorizontalAlignment="Left" Name="crystalReportsViewer1"
VerticalAlignment="Top" Height="500" Width="500"
Grid
Window

If you have any solution please let me know.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900