I have a simplified test scenario useful for asking this question: A Product can have many Components, a Component can belong to many Products.EF generated the classes, I\'ve slimmed them as follows:
I ca开发者_如何学Pythonn find a good definition for Html.HiddenFor on MSDN but the only thing I can find on Html.Hidden is related to problems it has.
Although I have read the documentation on Html.HiddenFor, I\'ve not grasped what is it used for... Could somebody explain its use开发者_开发技巧s and give a short example?
i am using HiddenFor with model binding which is binding value开发者_JAVA技巧 to it. i want to reset the binded value to zero.How can i do it?
What\'s up with this? The viewmodel variable is a bool with value true. <%= Html.HiddenFor(m => m.TheBool) %>