First of all, someone should review the code in these forums so that if a user hits the backspace key when creating a new post the page does not navigate back! So this is my second attempt to post this question because my first 95% complete post was vaporized when I hit the backspace key. [arg!]
I am basing the code from this documentation:
I have a razor form with two editors on them and am formatting them as in the link above but they are showing up as read only. Also the data from the model is not populating the control. I tried using a standard input control as well with the same results.
Here is the code:
I tried removing the style attribute above with no change.
Can someone help explain why it is greyed, read-only and does not contain data from the model?