obtaining value from Numeric TextBox not working

1 posts, 0 answers
  1. Gusev
    Gusev avatar
    74 posts
    Member since:
    Dec 2012

    Posted 11 May 2013 Link to this post

    ex: I have field in Model
    I use this:
                            @Html.LabelFor(model => model.ThicknessDry)
                            @Html.EditorFor(model => model.ThicknessDry

    .HtmlAttributes(new { id = Guid.NewGuid().ToString() })
     but I can't  call to my ThicknessDry (thicknessDry.png), because I use new Id ( this need to me)
    P.S. I can't delete this code: .HtmlAttributes(new { id = Guid.NewGuid().ToString() }) ( in EditorTemplates)

    This code help me!

Back to Top