Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
135037 Points
21649 Posts
Moderator
MVP
Nov 24, 2010 01:11 PM|LINK
qwe123kids 1 } When Click event Ocurs then Sesion Is Going to Clear Example Controller Action method() String strvalue = Convert.toString(Session["Avinash"]); ===perform Some DatabAse Wordk=================== Clear Session
It will not work with 2 simultaneos actions
qwe123kids 2 } U can Create A Dynamic Session NBame Example in view Session Name WouldSome Thing Like This HiddenFile value with Some Dynmaic Genrated Numbner Session["Avinash" + Dynamic_GenratedNumber] = Model.Id Know Will retive it Will string strvalue = Convert.TosTring(Session["Avinash + formcollection["DynamicGenretdNumber"]])
Just said that he does not want to use hidden fields.
ignatandrei
All-Star
135037 Points
21649 Posts
Moderator
MVP
Re: How to get rid of hidden fields in ASP.net MVC 2
Nov 24, 2010 01:11 PM|LINK
It will not work with 2 simultaneos actions
Just said that he does not want to use hidden fields.