How can I have two or more TextBoxes in same line?
<div class="form-group row"> @Html.LabelFor(m => m.MobileNumber, new { @class = "col-sm-2 col-form-label" }) <div class="col-sm-4"> @Html.TextBox("MobileNumberPrefix", "+9715", new { @class = "k-textbox", style = "width: 28%;", @readonly = "readonly" }) @Html.TextBoxFor(m => m.MobileNumber, new { maxlength = "8", @class = "k-textbox", style = "width: 100%;", placeholder = "9715XXXXXXXX" }) </div> @Html.LabelFor(m => m.UserEmail, new { @class = "col-sm-2 col-form-label" }) <div class="col-sm-4"> @Html.TextBoxFor(m => m.UserEmail, new { maxlength = "150", @class = "k-textbox", style = "width: 100%;", placeholder = "Email Address" }) </div></div>
I want to show MobileNumberPrefix and MobileNumber together in the col-sm-4
