Disable a textbox using CSS

Posted by Balaji on Stack Overflow See other posts from Stack Overflow or by Balaji
Published on 2010-03-16T22:21:47Z Indexed on 2010/03/16 22:31 UTC
Read the original article Hit count: 523

Filed under:
|
|

How to disable a textbox in CSS? Currently we are having a textbox in our view which can be enabled/disabled depending on a property in the model. We are having asp.net MVC view; depending on the value of the Model property we need to either render a textbox or readonly textbox. we were thinking of doing this by applying CSS to the view control. Has someone done this earlier?

© Stack Overflow or respective owner

Related posts about css

Related posts about disable