Hi friends,

I am having problem with applying style sheet for

@Html.TextBoxFor(m=> m.ZipCode, new { @class = "zip" })

This way, it is not working , but

@Html.TextBox("Username", null, new {@class = "prjct_textarea"})

This is working, But i can't bind this with model.

Please suggest me a way either to bind @html.TextBox() with models or apply the style sheet class to @Html.TextBoxFor()


any help will be highly appreciated, I am stuck here in the middle of nowhere