Schleid Alex

Schleid Alex

  • NA
  • 361
  • 47.9k

Hidding information

Feb 16 2020 9:03 PM
Hi
 
I have this on an edit page and I want to hide the following 
 <div class="form-group">
            @Html.LabelFor(model => model.StoreID, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.StoreID, new { htmlAttributes = new { @class = "form-control" } })
                @Html.ValidationMessageFor(model => model.StoreID, "", new { @class = "text-danger" })
            </div>
        </div>
How do I do that?
 
Thanks in advance
 
Regards
 

Answers (4)