Message: Object reference not set to an instance of an object.
Source: Telerik.Windows.Controls.GridView
Trace: at Telerik.Windows.Automation.Peers.GridViewGroupRowAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
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)
<
telerik:RadMap
>
<
telerik:RadMap.Resources
>
<
DataTemplate
x:Key
=
"pointTemplate"
>
<
Grid
telerik:MapLayer.Location
=
"{Binding location}"
telerik:MapLayer.HotSpot
=
"{Binding imageHotSpot}"
Margin
=
"0"
>
<
Image
x:Name
=
"pointImage"
Source
=
"{Binding imageUri}"
MouseLeftButtonDown
=
"selectMapPoint"
Height
=
"24"
Width
=
"24"
Margin
=
"0"
/>
<!-- We shift the bubble over a bit by half the size of the image -->
<
Border
Margin
=
"0"
>
<
Border.RenderTransform
>
<
TranslateTransform
X
=
"{Binding ElementName=pointImage, Path=ActualWidth, Converter={StaticResource scalingConverter}, ConverterParameter=0.5}"
Y
=
"{Binding ElementName=pointImage, Path=ActualHeight, Converter={StaticResource scalingConverter}, ConverterParameter=-0.5}"
/>
</
Border.RenderTransform
>
<!-- And then by half the size of the bubble -->
<
Border
x:Name
=
"bubbleBorder"
BorderBrush
=
"Black"
BorderThickness
=
"2"
CornerRadius
=
"4"
Background
=
"White"
Padding
=
"2"
Margin
=
"0"
MouseLeftButtonDown
=
"selectBubble"
>
<
Border.RenderTransform
>
<
TranslateTransform
X
=
"{Binding ElementName=bubbleBorder, Path=ActualWidth, Converter={StaticResource scalingConverter}, ConverterParameter=0.5}"
Y
=
"{Binding ElementName=bubbleBorder, Path=ActualHeight, Converter={StaticResource scalingConverter}, ConverterParameter=-0.5}"
/>
</
Border.RenderTransform
>
<
Label
Content
=
"{Binding ticketVM.jobRec.jobid}"
/>
</
Border
>
</
Border
>
</
Grid
>
</
DataTemplate
>
</
telerik:RadMap.Resources
>
<
telerik:InformationLayer
x:Name
=
"informationLayer"
ItemsSource
=
"{Binding mapElements}"
ItemTemplate
=
"{StaticResource pointTemplate}"
/>
</
telerik:RadMap
>