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

Link Button not lining up with autocomplete

2 Answers 11 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 03 Sep 2013, 08:38 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 06 Sep 2013, 12:14 PM
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.
0
Kevin
Top achievements
Rank 1
answered on 06 Sep 2013, 12:55 PM
wow thanks, like the video
Tags
AutoCompleteBox
Asked by
Kevin
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or