vb.net - wpf crystalreport viewer dissappear for no reason -
well problem easy explain , hard figure out, @ least me, have tabcontrol 3 tabitem, on 1 of tabitems have wpf reportviewer loads report of data, when change tabs, not matter each 1 when tab crystalreport in it, crystalreport viewer not there anytmore! have button on top refresh report , button still there crystal report control not there anymore!
my xaml looks this
<usercontrol x:class="uccvrfactuur" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:my="clr-namespace:sapbusinessobjects.wpf.viewer;assembly=sapbusinessobjects.wpf.viewer" mc:ignorable="d" d:designheight="300" d:designwidth="300"> <grid> <button content="report" height="50" horizontalalignment="right" margin="5" name="button1" verticalalignment="top" width="50" /> <my:crystalreportsviewer name="crvfactuur" margin="0,60,0,0" /> </grid> </usercontrol>
i must first time click on tab control there change tabs , go control not there anymore.
thanks in advance
Comments
Post a Comment