This is a migrated thread and some comments may be shown as answers.

After I have opened the web page for 2 hours, the AutoCompleteBox control doesn't work.

0 Answers 17 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Nitisak
Top achievements
Rank 1
Nitisak asked on 27 Dec 2013, 03:23 AM
Hi,Telerik Team

After I have opened the web page for 2 hours, the AutoCompleteBox control doesn't work. I have also attached the pic of an error with this. I have tried 2 ways to do data binding, using asp:SqlDataSource and Server site "atpMember.Datasource = DataTable;"

The following is an example of  "asp:SqlDataSource" code

Do you have any suggestion for fixing this problem?  Thank you in advance.

<telerik:RadAutoCompleteBox runat="server" ID="atpMember" InputType="Token"  Filter="Contains" Width="500px"
DropDownWidth="298px" DropDownHeight="300px" DataSourceID="SqlDataSource1" DataTextField="USER_NAME"
DataValueField="USER_ID" Skin="Windows7">
    <DropDownItemTemplate>
         <table cellpadding="0" cellspacing="0">
               <tr>
                    <td>
                           <table cellpadding="0" cellspacing="0">
                                 <tr>
                                       <td style="width: 60px">
                                              <%# DataBinder.Eval(Container.DataItem, "USER_ID")%>
                                       </td>
                                       <td style="width: 220px">
                                               <%# DataBinder.Eval(Container.DataItem, "USER_NAME")%>
                                       </td>
                                  </tr>
                              </table>
                          </td>
                     </tr>
               </table>
       </DropDownItemTemplate>
 </telerik:RadAutoCompleteBox>
 
 
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:OracleConnectionString %>"
            ProviderName="System.Data.OracleClient" SelectCommand="SELECT USER_ID,USER_NAME FROM KPDBA.USERS
     WHERE DEL_STAT = 'N' ">
</asp:SqlDataSource>

No answers yet. Maybe you can help?

Tags
AutoCompleteBox
Asked by
Nitisak
Top achievements
Rank 1
Share this question
or