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

No cursor at the autocomplete box

1 Answer 51 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Andy Ho
Top achievements
Rank 1
Andy Ho asked on 13 May 2013, 03:56 AM
Hi,

I created a AutoCompleteBox inside a radwindow, it functions well except the cursor not appear, any hints why?

   <telerik:RadAutoCompleteBox ID="dfCollaborator" runat="server"
DataSourceID="ldsStaff"<BR>                       
DataTextField="DisplayName" DataValueField="SID" Width="400px" Delimiter=";"
DropDownHeight="50px" EmptyMessage="Please input"
InputType="Token"><BR>                       
<TokensSettings AllowTokenEditing="true" />
<BR>                   
</telerik:RadAutoCompleteBox>

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 May 2013, 05:12 AM
Hi Andy Ho,

Please have a look at the following code I tried which works fine at my end. Also the delimiter has no effect when you are setting the inpuy type to Token.

ASPX:
<telerik:RadButton ID="RadButton1" runat="server" AutoPostBack="false" Text="Open RadWindow"
    OnClientClicked="OnClientClicked">
</telerik:RadButton>
<telerik:RadWindow ID="RadWindow1" runat="server" Width="600px" Height="500px">
    <ContentTemplate>
    <br />
        <telerik:RadAutoCompleteBox ID="dfCollaborator" runat="server" DataSourceID="SqlDataSource2"
            DataTextField="ContactName" Width="400px" Delimiter=";"
            DropDownHeight="50px" EmptyMessage="Please input" InputType="Token">         
            <TokensSettings AllowTokenEditing="true" />
        </telerik:RadAutoCompleteBox>
    </ContentTemplate>
</telerik:RadWindow>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
    SelectCommand="select ContactName from [Customers]"></asp:SqlDataSource>

JavaScript:
<script type="text/javascript">
    function OnClientClicked() {
        var radWindow = $find('<%=RadWindow1.ClientID %>');
        radWindow.show();
    }
</script>

Thanks,
Shinu.
Tags
AutoCompleteBox
Asked by
Andy Ho
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or