Ramco Ramco

Ramco Ramco

  • 1.5k
  • 556
  • 21.8k

Error message is getting wrapped

Jun 22 2021 11:53 AM

Hi

  IN below code i want that error message appearing should have col-md-9. 

Id Textbox will be col-md-3.

                        <div class="form-group row">
                            @Html.LabelFor(model => model.Id, htmlAttributes: new { @class = "control-label col-md-3" })
                            <div class="col-md-3">
                                @Html.EditorFor(model => model.Id, new { htmlAttributes = new { @class = "form-control", @Value = Model.Id } })  
                                @Html.ValidationMessageFor(model => model.Id, "", new { @class = "text-danger col-md-6" })
                            </div>
                        </div>

Thanks


Answers (8)