|
-
October 3rd, 2011, 08:48 AM
#1
Help on MVC3 with razor engine
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|