Dear All,
together with the address the Longitude & Latitude should be saved.
I tried to use the AutoResetEvent but it is not working.
After WaitOne() is called, nothing happens. The EventHanlder is never called.
Please let me know if you have an idea.
AutoResetEvent waitHandle = new AutoResetEvent(false);
if (fullAddress != String.Empty && Item.Longitude == 0 && Item.Latitude == 0)
{
Telerik.Windows.Controls.Map.BingSearchProvider provider = new Telerik.Windows.Controls.Map.BingSearchProvider(bingApplicationId);
Telerik.Windows.Controls.Map.SearchRequest newSearchRequest = new Telerik.Windows.Controls.Map.SearchRequest();
newSearchRequest.Query = fullAddress;
EventHandler<Telerik.Windows.Controls.Map.SearchCompletedEventArgs> eventHandler = delegate(object sender, Telerik.Windows.Controls.Map.SearchCompletedEventArgs e)
{
foreach (Telerik.Windows.Controls.Map.SearchResultSet result in e.Response.ResultSets)
{
if (result.SearchRegion != null)
{
Item.Longitude = Convert.ToDecimal(result.SearchRegion.GeocodeLocation.BestView.Center.Longitude);
Item.Latitude = Convert.ToDecimal(result.SearchRegion.GeocodeLocation.BestView.Center.Latitude);
Debug.WriteLine(String.Format("{0} Latitude:{1} Longitude:{2}", Item.Name1, Item.Latitude, Item.Longitude));
}
}
waitHandle.Set();
};
provider.SearchCompleted += eventHandler;
provider.SearchAsync(newSearchRequest);
waitHandle.WaitOne();
Debug.WriteLine(fullAddress);
}
Hi!
I want to display a scale bar (see attached image) in the chart. How can I achieve this?
I don't see an annotation type where I can specify the position in absolute values, but the size in units of the MajorStep.
I need it in both Cartesian and Polar charts.
A second question: How can I display a label for a PolarAxisGridLineAnnotation?
Alex
Dear Team,
We are facing the below issue while trying to bind a Combobox inside a Gridview.
Binding of data is not happening to Dropdown inside the grid view and we sae the below error messages in Visual studio output.
I have attached the Error message and the code snippets in the document.
Could you please let us know your feedback on the same and this is a bit critical for us to resolve. Thanks

Is there a built-in way to convert from the "{ColumnLetter}{RowNumber}" notation to the CellIndex format?
Example:
"C5" becomes ColumnIndex=2, RowIndex=4
"AA2" becomes ColumnIndex=26, RowIndex=1
It's not the end of the world to write my own conversion, but I was just curious if this is already supported.
Thanks!
I would like to use the 'accent'/'selected' color from my office 2013 implicit theme for a generic control (in my case I am using a Hyperlink inside a TextBlock - I have two of those) in code/xaml to show the selected/unselected color depending on whether the user clicks on one or the other link, i.e. if the user clicks on option 1, I'd like to apply the corresponding color/brush that'd show that it is selected, when the user clicks on option 2, then, I'd like to return option 1 to the default color and have Option 2 switch to the 'selected' one.
I have approached it somehow as follows (I changed the hyperlink to a RadButton hopping that it'd help):
<telerik:RadButton x:Name="ShowDashboardHyperlink" Click="ShowDashboardHyperlink_OnClick" Content="DASHBOARD">
<telerik:RadButton.Style>
<MultiBinding Converter="{StaticResource StyleConverter}">
<MultiBinding.Bindings>
<Binding RelativeSource="{RelativeSource Self}" />
<Binding Path="DashboardStyle" />
</MultiBinding.Bindings>
</MultiBinding>
</telerik:RadButton.Style>
</telerik:RadButton>
With a style converter like:
public class StyleConverter : IMultiValueConverter
{
blah...
}
And on my view model:
public string DashboardStyle
{
get { return _dashboardStyle; }
set
{
_dashboardStyle = value;
RaisePropertyChanged(() => DashboardStyle);
}
}
Somewhere in my constructor I initialize my colors:
DashboardStyle = "AccentMainBrush";
CalendarStyle = "BasicBrush";
​
It compiles and all but I think the part that I don't get right is the binding.
I'll appreciate any help.
So I am trying to figure out how to change the category of an occurrence. Lets say a custom has an appointment every wednesday at 1pm. When they make the appointment, I will mark that occurrence as Blue. If they miss the appointment, I mark the occurrence as Red.
I was looking at sourcecode of ScheduleView and it seems an occurrence is nothing more then the original appointment with the occurrence start and duration added to the object, which makes up the Occurrence object. So if I change the Category of one,it changes them on all because it is really the same Appointment object with just different dates. So is there anyway to treat an Occurrence like a unique object that you can change Category or properties of, but it still stays part of the RecurrencePattern?
Or is it possible on an appointment, when you call GetOccurrences, the return custom appointments that have more properties?
On an Occurrence, I don't see the different between the appointment and the Master.
My app was developed back in 2013 and I want to implement this behavior now. This behavior was introduced in 2014
http://docs.telerik.com/devtools/wpf/controls/radautocompletebox/features/filteringbehavior.html
I don't want to update Telerik becuase it will mess some other stuff.
Can I implement this ?
Hello - I run a simple system that looks at Sales orders, then with their associated country, changes the colour of that country on a map - pretty simple stuff.
Having that list of countries (shapes), is there a way to zoom so that they act as the zoom limits ie if only UK orders, only UK would be shown via zoom, or if UK and Australia, the map would center somewhere between the two, and zoom accordingly
Many thanks