Pregunta

Possible Duplicate:
How to create a generic MVC3 editor template?

I am using editorfor as my input control and this is going out of my form when the screen resolution is low. I need to reduce the width of the control to fix this problem. I am trying to write an editor template for this but i am not figure out how. Please help me here.

¿Fue útil?

Solución

Try looking at this link. They seemed to be able to manipulate the EditorFor field by wrapping it in a div and then using CSS to manipulate the div.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top