Hi,
Version : 2010 Q2 - 2010.2.714.35
Hi,
I have a WPF application (.net 3.5) with MVP pattern and the Microsoft Unity container.
When i add a RadDatePicker in a view, there is a drop down problem :
the calendar doesn't appear and other controls have a similar behavior : for the original ComboBox, the drop down list don't display.
Without RadDatePicker, all controls appear correctly.
(With the version 2010.1.422.35, it work.)
I don't have this problem in a classic WPF application (without MVP neither Unity).
Otherwise, in the Visual Studio out, an error occurs many time :
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=PART_DropDownButton'. BindingExpression:Path=IsMouseOver; DataItem=null; target element is 'ButtonChrome' (Name='ButtonChrome'); target property is 'RenderMouseOver' (type 'Boolean')
I try to catch this error with a diagnostic converter (System.Diagnostics) :
<Style TargetType="{x:Type telerik:RadDatePicker}">
<Setter Property="???" Value="{Binding Path=???, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}, diagnostics:PresentationTraceSources.TraceLevel=High}"/>
</Style>
But i don't found interesting property to watch in order to have more details.
Thanks in advance
<Border ClipToBounds="True" Grid.Column="1" Grid.RowSpan="4" Grid.ColumnSpan="2" Grid.Row="0" VerticalAlignment="Top" Margin="0,40,10,0" HorizontalAlignment="Right" x:Name="carFav" Height="70px" Width="500px" Visibility="Collapsed"> <telerik:RadCarousel x:Name="Favorites" AutoGenerateDataPresenters="False" HorizontalScrollBarVisibility="Hidden" VerticalContentAlignment="Bottom" Template="{StaticResource FavouritesCarousel}"> <telerik:RadCarousel.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FF7D7D7D" Offset="0.164"/> <GradientStop Color="White" Offset="0.093"/> </LinearGradientBrush> </telerik:RadCarousel.Background> <telerik:RadCarousel.ReflectionSettings> <telerik:ReflectionSettings Visibility="Visible" OffsetY="3"/> </telerik:RadCarousel.ReflectionSettings> </telerik:RadCarousel></Border><ControlTemplate x:Key="FavouritesCarousel" TargetType="{x:Type telerik2:RadCarousel}"> <Grid> <ScrollViewer x:Name="CarouselContentPresenter" CanContentScroll="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="Gray" HorizontalScrollBarVisibility="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik2:RadCarousel}}, Path=HorizontalScrollBarVisibility}" VerticalScrollBarVisibility="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik2:RadCarousel}}, Path=VerticalScrollBarVisibility}"> <ItemsPresenter x:Name="ItemsPresenter" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> </ScrollViewer> </Grid></ControlTemplate>Stack Trace
-----------
1) Type: NullReferenceException (System.NullReferenceException)
1) Message: Object reference not set to an instance of an object.
1) Data: YES (1 Entries Below)
1) Key: 'System.Object' Value: ''
1) ** Stack Trace:
1) at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.PositionArrow() in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Core\Controls\DragDrop\RadDragAndDropManager.cs:line 1573
1) at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnRealDrag(IMouseEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Core\Controls\DragDrop\RadDragAndDropManager.cs:line 1318
1) at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnCoverRectangleMouseMove(Object sender, MouseEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Core\Controls\DragDrop\RadDragAndDropManager.cs:line 856
1) at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
1) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
1) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
1) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
1) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
1) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
1) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
1) at System.Windows.Input.InputManager.ProcessStagingArea()
1) at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
1) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
1) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
1) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
1) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
1) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
1) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
1) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
1) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
1) ** No Inner Exception
this.grid.IsBusy = true;
Load_Invoices(); // Sets ItemsSource
this.grid.IsBusy = false;
// Blows up Here!
this.grid.SelectedItem = this.grid.Items[0];