KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
HiddenFor description is: Returns an HTML hidden input element for each property in the object that is represented by the specified expression. I read that it is useful for fields in your Model/ViewModel that you need to persist on the page and have passed back when another call is made but shouldn't be seen by the user. HiddenInput description is: Represents an attribute that is used to indicate whether a property or field value should be rendered as a hidden input element. Can you please tell me when is HiddenInput useful? and when to use it instead of Html.HiddenFor? Thanks!
Tags (comma-separated)
Save Edits
Cancel