As the title states. I have an MVC 3 Razor view which i would like to programmatically instantiate and obtain a list of it’s Html helpers.
anyone have any good suggestions on how to approach this?
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I was able to achieve this by executing a custom view result and updating the model from my html helper.
Action Method:
View Result:
Helper: