Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top