Link Button not lining up with autocomplete

3 posts, 1 answers
  1. Kevin
    Kevin avatar
    265 posts
    Member since:
    Jun 2011

    Posted 03 Sep 2013 Link to this post

    I am trying to line up my linkbutton with the rad autocomplete but no matter what I do it always goes to the next line and the linkbutton is on next line instead of inline with the autocomplete.  Dont know hat kind of wierd styling this thing has but it will not allow anything inline with it.  how can I put my linkbutton inline with the autocomplete.  Even tried using a div but also no go.

    <table style="width:100%">
           <tr>
               <td style="width:100%;text-align:center">
                    <telerik:RadAutoCompleteBox ID="radAutoComplete" runat="server" OnClientRequesting="requesting" EmptyMessage="Enter Users Last Name First Name."
                       InputType="Text" TextSettings-SelectionMode="Single">
                       <WebServiceSettings path="../AutoComplete.asmx" Method="UserAccounts" />
                   </telerik:RadAutoCompleteBox>
                    <asp:LinkButton ID="lnkView" runat="server" Text="ViewUser"></asp:LinkButton>   
               </td>
           </tr>
       </table>


    <div class="CenterDiv">
                    <telerik:RadAutoCompleteBox ID="radAutoComplete" runat="server" OnClientRequesting="requesting" EmptyMessage="Enter Users Last Name First Name."
                       InputType="Text" TextSettings-SelectionMode="Single">
                       <WebServiceSettings path="../AutoComplete.asmx" Method="UserAccounts" />
                   </telerik:RadAutoCompleteBox>
                    <asp:LinkButton ID="lnkView" runat="server" Text="ViewUser"></asp:LinkButton>   
          </div>



































  2. Answer
    Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 06 Sep 2013 Link to this post

    Hello Kevin,

    I would suggest you to apply the display: inline-block; style rule to the RadAutoCompleteBox and the vertical-align: top; to the LinkButton. Here is a video, demonstrating the behavior at my end, with the above mentioned styles applied.

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kevin
    Kevin avatar
    265 posts
    Member since:
    Jun 2011

    Posted 06 Sep 2013 Link to this post

    wow thanks, like the video
Back to Top