Good Day
i have a service that i previously used the "Location" type , so i could not serialize that type , so i converted it to a string so that i can pass the data from the service to the View. On the other side in the Viewmodel i have a property that is using a "Location" Type and now i am trying to convert the string to location and the Casting does not look like it works.
i have a service that i previously used the "Location" type , so i could not serialize that type , so i converted it to a string so that i can pass the data from the service to the View. On the other side in the Viewmodel i have a property that is using a "Location" Type and now i am trying to convert the string to location and the Casting does not look like it works.
m.Location = (Telerik.Windows.Controls.Map.Location)lstIncidents[1];
Cannot convert type
string
to
'Telerik.Windows.Controls.Map.Location'