hi there
I am using editor and display templates on my MVC project with MetaData I use something Called UIHint that enables me to show a particular control for example all my description fields require a textarea that is using tinyMCE however i want the name of the textarea to match the name of my field:
i.e i have Model Employee, with a field of EmployeeDescription i want to create a generic HTML Helper so that i can have a single textarea that will set its name to EmployeeDescription so that i can just bind back to my model on submit and i also dont have to create multiple textareas for each model.
i know how to pass a model but have just hit a wall when it comes to naming the element.
many thanks