
I have a string that contains the name of a person associated with a location. I am using the request code provided by Telerik:
Telerik.WinControls.UI.Map.Bing.SearchRequest request = new SearchRequest();
request.Query = latlong;
request.SearchOptions.QueryParse = true;
request.UserData = // <- Here is where I think it would work, but I don't know how to get this accessible by the Bing! search. bingProvider.SearchAsync(request)
I am using the BingProvider_SearchCompleted code provided by Telerik, however, I do not see how to pass a string using the request that can then be used as the pin.ToolTipText.
Telerik.WinControls.UI.Map.RectangleG allPoints = new Telerik.WinControls.UI.Map.RectangleG(double.MinValue, double.MaxValue, double.MaxValue, double.MinValue);
foreach (Telerik.WinControls.UI.Map.Bing.Location location in e.Locations)
{
Telerik.WinControls.UI.Map.PointG point = new Telerik.WinControls.UI.Map.PointG(location.Point.Coordinates[0], location.Point.Coordinates[1]);
MapPin pin = new MapPin(point);
pin.Size = new System.Drawing.Size(20, 40);
pin.BackColor = Color.Aquamarine;
pin.ToolTipText = // <- Here is where I would like the name to show up.
this.radMap1.MapElement.Layers["Primary"].Add(pin);
allPoints.North = Math.Max(allPoints.North, point.Latitude);
allPoints.South = Math.Min(allPoints.South, point.Latitude);
allPoints.West = Math.Min(allPoints.West, point.Longitude);
allPoints.East = Math.Max(allPoints.East, point.Longitude);
currentClientLoc = currentClientLoc + 1;
}
if (e.Locations.Length > 0)
{
if (e.Locations.Length == 1)
{
this.radMap1.BringIntoView(new Telerik.WinControls.UI.Map.PointG(e.Locations[0].Point.Coordinates[0], e.Locations[0].Point.Coordinates[1]));
}
else
{
this.radMap1.MapElement.BringIntoView(allPoints);
this.radMap1.Zoom(this.radMap1.MapElement.ZoomLevel - 1);
}
}
else
{
RadMessageBox.Show("No result found for the provided search query!");
}
Any help would be much appreciated. And... I a side note. I get to the first person to post on this forum? Yay! :-)
-Scott
I was new to telerik.
I want to hide columns in radgridview which column all cells are null values by programmatically.
thanks

I am trying to save the results of mail merge as a PDF, but I am getting a compiler error.
cannot convert from RadDocument to RadFixedDocument
Is there a way around it? Here's my code
using (SaveFileDialog dialog = new SaveFileDialog()){ dialog.Filter = "PDF (*.pdf)|*.pdf"; dialog.FilterIndex = 2; dialog.RestoreDirectory = true; if (dialog.ShowDialog() == DialogResult.OK) { var provider = new PdfFormatProvider(); radRichTextEditor1.Document.MailMergeDataSource.ItemsSource = LetterService.GetEmployersMailMergeSource(); using (Stream output = File.Create(dialog.FileName)) { //error here provider.Export(radRichTextEditor1.Document.MailMerge(), output); } }}
I want to give application admins to create new templates. Something like
Hello <LastName>, <FirstName>. You owe us <AmountOwed>. Please mail a check to <Address>.
I spend some time research, and it appears that it's doable using RichTextEditor and MailMerge. However, I can't seem to find an ability for the user to actually create a template through a GUI. What am I missing?

Dear sirs,
I have data source in format of List<Dictionary<string,object>>. Can I bind the data to RadGridView.DataSource?
If it is not, can I extend some classes to do that?
Thanks for your sharing.
Tuan


hi,
in my app i write subject "آقای ØÙ‚یقت" but in Appointment Title it wrote "ØÙ‚یقت آقای"
actually in the Appointment Title the Expression reversed,why?


I am trying to create a template editor for making letters for mailing.
I open up a new form with a RadRichTextEditor and an Editor Ribbon, and then assign a MailMergeDataSource.ItemsSource.
I add a few fields to the documents, and then use a DocxFormatProvider to get a byte[]
That array goes into an event with a Letter object inside. The event handler code is below.
All I want to do, is reload that byte[] into a different RadRichTextEditor, and then display the mailmerge fields like this <<MyCustomField>> and ideally highlight it. Instead, it's just displaying data from the ItemsSource. Below is the code that I think is relevant
private void LetterEditor_TemplateSaved(object sender, TemplateSavedEventArgs templateSavedEventArgs){ var provider = new DocxFormatProvider(); var doc = provider.Import(templateSavedEventArgs.Letter.LetterByteArray); radRichTextEditor1.Document = doc; radRichTextEditor1.Document.ShowMergeFieldsHighlight = true; radRichTextEditor1.Document.FieldsDisplayMode = Telerik.WinForms.Documents.Model.FieldDisplayMode.DisplayName;}