

Private Sub AddAutoCompleteItems() Me.RadTextBoxControl1.AutoCompleteMode = AutoCompleteMode.Suggest Dim resultgoogle As RadListDataItemCollection = RadTextBoxControl1.AutoCompleteItems Dim value As String = RadTextBoxControl1.Text Dim url As String = "https://maps.googleapis.com/maps/api/place/autocomplete/json?input=" & value & "&types=establishment&language=fr&key=YOURAPIKEY" Dim request As WebRequest = WebRequest.Create(url) Dim response As HttpWebResponse = request.GetResponse() Dim responseStream As Stream = response.GetResponseStream() Dim reader As New StreamReader(responseStream) Dim jsonData As String = reader.ReadToEnd() Dim jResults As JObject = JObject.Parse(jsonData) Dim data As List(Of JToken) = jResults.Children().ToList reader.Close() For Each item As JProperty In data item.CreateReader() Select Case item.Name Case "predictions" For Each msg As JObject In item.Values If resultgoogle.Contains(msg("description")) Then 'nothing Else resultgoogle.Add(New RadListDataItem(msg("description"))) End If Next End Select Next If RadTextBoxControl1.Text = "" Then resultgoogle.Clear() End If End Sub Private Sub RadTextBoxControl1_TextChanged(sender As Object, e As EventArgs) Handles RadTextBoxControl1.TextChanged AddAutoCompleteItems() End Sub
If you have a more efficient solution to limit requests on the google API, do not hesitate to share.
JC

Hello, I'm using a RadListControl on a touchscreen and the EnableKineticScrolling = True so the user can scroll by touch. I couldn't find a way to remove/hide the vertical scrollbar of the control. How can I do that?
Using Telerik for Winforms 2013.3.1328.40.

On RadTextBox,
I can't get the rounded edges with the Breeze theme


Is there an event for clicking a chart label Item

I have a WinUI RadGridView that is completely blank - the columns are built dynamically. I have the editing of those columns completed and working but now I have one final piece of this puzzle I cannot figure out:
With a blank grid (grid without columns) even when you set "mygrid.AllowAddNewRow = True" you don't get the "Click here to add new row" row - which makes perfect sense...no columns, there's nothing that can be added.
But once the dynamic columns have all been added, their props set - then I do the mygrid.AllowAddNewRow = True and...I still don't get the "Click here to add..."
Per usual I've spent a ton of time trying to read what I can - lots of threads posted that get close to what I'm doing but nothing like the above and I'm at my Witts End.
I'm guessing it has something to do with the MasterTemplate - something I'm not adding when I create the dynamic columns that is preventing this? For this specific grid, existing data is 'read only' so as those cells are added, readonly = True but that shouldn't have anything to do with adding a new row should it?
Anyway, please advise! I'm seriously stuck on this one.
-Curtis

Hello *,
1. looking for a possibility to make ctrl+a / ctrl+x, etc. for browseeditor control. Is this possible?
2. Is this possible to add an additional button to the browseeditor (next to ... button) - e.g. one for delete the whole content? Or perhaps there is some other elegant way how I can delete the content of the editor field?
3. I display a path string in the editor control and sometimes the path may be very long. Is there some user-friendly way to display the long path in the edit box with the size significantly smaller as the length of the path string? (e.g. display only the last part of the text or cut something in the middle, or...)
Thanks for the support
Rostislaw
