This is a migrated thread and some comments may be shown as answers.

Getting error binding data with radmap control

1 Answer 56 Views
Map
This is a migrated thread and some comments may be shown as answers.
666
Top achievements
Rank 1
666 asked on 18 Dec 2010, 07:18 AM
Hi
 I am getting below error when binding to radmap with collection, i am using radmap control with silverlight 4.0

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Message: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.RadMap.ZoomToPoint(Point point, Int32 zoomAdjustment)
   at Telerik.Windows.Controls.RadMap.OnMouseWheel(Double delta, Point point)
   at Telerik.Windows.Controls.Map.MouseControl.HandleMouseWheel(Double delta, Point point)
   at Telerik.Windows.Controls.Map.MouseControl.MapControl_MouseWheel(Object sender, MouseWheelEventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)    

How to Fix this issue ?

Thanks in advance

 

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 22 Dec 2010, 01:20 PM
Hello srini,

It is could be very complicated and it is hard to reproduce the problem without your code.
Could you, please, send to us a solution which reproduces the problem? This way we will be able to debug it locally and get back to you with our findings.

Kind regards,
Andrey Murzov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
Map
Asked by
666
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or