User-719153870 posted
Hi jsshivalik,
You can display the two controls on the same line by adding a
"display: inline" style to your textbox.
Please refer to below codes:
<div class="form-group" style="float:left">
<label>Document No</label>
<div class="form-group">
<asp:TextBox ID="txtInvoiceNo" Style="color: green;display:inline;" AutoComplete="off" class="form-control col-md-2" runat="server"></asp:TextBox>
<asp:Button ID="btnPrint" runat="server" class="form-control col-md-2" Enabled="false" Text="Print" />
</div>
</div>
Here is result of this demo:

Best Regard,
Yang Shen