0

The code for my TextBoxAreaFor<> text area (for some reason) puts the cursor at the end of the text area and not at the start like a TextBoxFor<> does. How do I get the cursor to be placed at correct position i.e. At beginning of text area?

    <div class="form-group">
        @Html.LabelFor(model => model.IncidentDescription, new { @class = "control-label col-md-2" })
        <div class="col-md-10">
            @Html.TextAreaFor(model => model.IncidentDescription, new { @class = "control-label col-md-1" })
            @Html.ValidationMessageFor(model => model.IncidentDescription)
        </div>
    </div>
ASPCoder1450
  • 1,651
  • 4
  • 23
  • 47
  • There is no way to set the initial cursor position for ` – Dai Feb 10 '14 at 00:11
  • I'm not using any jQuery to set the cursor at the moment. Do I must? It should really start at the beginning of the text area – ASPCoder1450 Feb 10 '14 at 10:02

0 Answers0