hi
i've this object:
<telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" Runat="server" Delimiter="" DropDownHeight="150px" DropDownWidth="270px" Filter="StartsWith" InputType="Text" Width="270px" EmptyMessage="Inserisci la tua città " Skin="Sunset"> <WebServiceSettings Method="Getcity" Path="index.aspx" /></telerik:RadAutoCompleteBox>I have three questions to ask:
1)
i've this code into vbnet:
<WebMethod()> Public Shared Function Getcity(context As Object) As AutoCompleteBoxData Dim searchString As String = DirectCast(context, Dictionary(Of String, Object))("Text").ToString() Dim data As DataTable = Getcomuni(searchString) Dim result As New List(Of AutoCompleteBoxItemData)() For Each row As DataRow In data.Rows Dim childNode As New AutoCompleteBoxItemData() childNode.Text = row("descrizione").ToString() childNode.Value = row("id").ToString() result.Add(childNode) Next Dim res As New AutoCompleteBoxData() res.Items = result.ToArray() Return res End Function Private Shared Function Getcomuni(ByVal text As String) As DataTable Dim adapter As New SqlDataAdapter("SELECT * from Tab_comuni WHERE descrizione LIKE @text + '%'", ConfigurationManager.ConnectionStrings("TrycontactString").ConnectionString) adapter.SelectCommand.Parameters.AddWithValue("@text", text) Dim data As New DataTable() adapter.Fill(data) Return data End Functionbut when I try to search for a city, nothing shows the dropdown does not appear.
2)
Why having the object raddecoration and thus eliminating any entry in AutoCompleteBox propriotà skin object, you can not see the edges of the round?
3)
How come when the focus is on the AutoCompleteBox, the edges of the object are not shown
Thanks you
