This question is locked. New answers and comments are not allowed.
Hello,
I am creating a MVC 3 website and I am using a Grid (MVC Extensions) that is being passed in a View Model where all pertinent information is using Data Annotations. My question is I want to make one field Hidden (as in asp:Hidden) so that I can hold some data without showing it on the page. Is there a way to do that? I looked in the DataType enum but did not see a "hidden" data type, but I did see a Custom datatype but I can't find any information on how to use it. I have done searches online as well as off (with the .chm) and can't find any information about it.
Any help will be greatly appreciated.
Thanks,
Tim
I am creating a MVC 3 website and I am using a Grid (MVC Extensions) that is being passed in a View Model where all pertinent information is using Data Annotations. My question is I want to make one field Hidden (as in asp:Hidden) so that I can hold some data without showing it on the page. Is there a way to do that? I looked in the DataType enum but did not see a "hidden" data type, but I did see a Custom datatype but I can't find any information on how to use it. I have done searches online as well as off (with the .chm) and can't find any information about it.
Any help will be greatly appreciated.
Thanks,
Tim