views:

55

answers:

1

I have tried:

@Html.TextBoxFor(m => m.UserName, new {@class='textbox'})

which isn't working.

+1  A: 

@Html.TextBoxFor(m => m.UserName, new {@class="textbox"})

c# string literal does not sigle quote.

'textboc' -> "textbox"

takepara
You'r so right.. I blame it on the later hour... Shouldn't be coding in the middle of the night. Even the exception messages was telling me this (mayby in a more cryptic way)
Magnus Gladh