No cursor at the autocomplete box

2 posts, 0 answers
  1. Andy Ho
    Andy Ho avatar
    41 posts
    Member since:
    May 2010

    Posted 12 May 2013 Link to this post

    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>

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 May 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top