or

<telerik:RadButton ID="SettingsButton" runat="server" OnClientClicked="rWinSettingsOpen" AutoPostBack="false" Width="28" Height="28" BackColor="#25a0da"> <Image ImageUrl="~/images/settings.png" EnableImageButton="true" /></telerik:RadButton>| <radajaxpanel> |
| <formview> |
| <targetcontrol id="abc123" /> |
| <radtooltip TargetControlID="abc123" ShowEvent="OnClick" |
| HideEvent="ManualClose" RelativeTo="BrowserWindow" |
| Position="Center" Animation="FlyIn" Modal="true"> |
| <radgrid> |
| </radgrid> |
| </radtooltip> |
| </formview> |
| </radajaxpanel> |

<telerik:RadAutoCompleteBox ID="MyControl" runat="server" Width="400" DropDownHeight="150" DropDownWidth="500" SelectMethod="MySelectMethod" InputType="Text"> </telerik:RadAutoCompleteBox>01.Public Function MySelectMethod() As AutoCompleteBoxData02. Dim data As DataTable = GetChildNodes("a", "139")03. Dim result As New List(Of AutoCompleteBoxItemData)()04. 05. For Each row As DataRow In data.Rows06. Dim childNode As New AutoCompleteBoxItemData()07. childNode.Text = row("field1").ToString()08. childNode.Value = row("field2").ToString()09. result.Add(childNode)10. Next11. 12. Dim res As New AutoCompleteBoxData13. res.Items = result.ToArray()14. 15. Return res16.End Function17. 18.Private Function GetChildNodes(ByVal searchString As String, ByVal countryList As String) As DataTable19. ' Some code that works20.End Function21. 22.Private Function GetData(selectCommand As SqlCommand) As DataTable23. ' Some code that works24.End Function
