Format Bass classes for TextBoxFor Field

Is there a way to modify the default attributes of the TextBoxFor fields?

Rather than add a class to each TextBoxFor field would it not be easier to modify the base class?
elmbrookAsked:
Who is Participating?
 
Éric MoreauSenior .Net ConsultantCommented:
I am not sure to fully understand but you can always inherit the TextBox to create your own and then use your new one instead of the original one.
0
 
elmbrookAuthor Commented:
Can you give me an example of this or at least point me in the right direction?
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.