I used tabIndex for readonly textbox. Because we don't need to focus readonly field when we use "tab" for one textbox to another textbox. It's very simple.
@Html.TextBoxFor(model => model.USERPC, htmlAttributes: new { id = "textidUserpc", @class = "form-control", @readonly = "readonly", tabIndex = "-1" })
@Html.TextBoxFor(model => model.USERPC, htmlAttributes: new { id = "textidUserpc", @class = "form-control", @readonly = "readonly", tabIndex = "-1" })
No comments:
Post a Comment