Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

i have hidden field controll in the value. its value is change on click.
I want to access that hidden fielder vaue in controller.
i am trying

C#
string val = Request["hiddenfieldid"];


but its not working.
can any one help me on this.

Thanks
Posted
Updated 26-May-16 2:31am
v2

 
Share this answer
 
try this.

string val =Convert.ToString(Request.Params["hiddenfieldid"]);
 
Share this answer
 
Check whether hidden field is in form element
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900