Using autoencode=true passes form values in endcoded form, e.q < character is passed as <
I tried code below to decode them but still < gets stored instead of <
It looks like UpdateModel does not use passed fromValues collection to update.
How to store < to model if < is passed as value ?
Or how to disable only post data encoding ? setting autoencode=false disables incoming data encoding also.
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Save(string id, FormCollection formValues)
{
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top