getting html hidden controls value in code behind

hi
i need to get a value of html hidden control which is not set to runat server and i also dont have its id only name is getting.
<input type=hidden name=refid value="1">
Request.form["refid"] is not working. so
can u sugges some idea

regards
max
0
max_dev2006
9/26/2006 12:43:21 PM
asp.net.web-forms 93655 articles. 5 followers. Follow

1 Replies
1043 Views

Similar Articles

[PageSpeed] 36

In asp.net, there is a control called a HiddenField control.

Have you thought of using that?

Also - is this posting to another page? if so - which post method?

Many times, I've seen people use Request.form when they needed Request.Querystring


David Wier
MCP/ASPInsider
ASPNet101.com - where to look first!
Please Vote for ASPNet101 - 'Best Community Resource'!
Control Grouper - easily control properties for multiple controls with one control!
Calendar Express - The Best HTML Calendar Generator on the web!
(Please 'Mark as Answer' when it applies)
0
augustwind
9/26/2006 2:21:56 PM
Reply: