Return value is contain from controller and also can see the value when I check with inspect my code. But the value didnt show in the text box. I'm stacking here.. someone help me please
<div class="form-group col-md-6">
<label>လုပ်ငန်းအမျိုးအစား</label><span class="text-danger">*</span>
@Html.TextBoxFor(m => m.BusinessType, new { type = "text", @class = "form-control", value = "" })
</div>
Delete
type="text", value = ""
in
@Html.TextBoxFor(m => m.BusinessType, new { type = "text", @class = "form-control", value = "" })
The html helper autogenerates those attributes
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.