c# - Pass parameters in Html.BeginForm that don't come from <input> -
i using html.beginform("details", "controllername", formmethod.post) send parameters controller. working fine. however, works <input> tags within html. there way post value of other tags? example <span> or else? @ end in actionresult details(), receive values within <span>?
thank you
no, can't. input, select , textarea controls values posted server. can set in background hidden input control span value can't expect span automatically posted.
Comments
Post a Comment