Cannot get Request.Form by name in ASP.NET

Posted by Nissan Fan on Stack Overflow See other posts from Stack Overflow or by Nissan Fan
Published on 2010-06-07T18:58:01Z Indexed on 2010/06/07 19:02 UTC
Read the original article Hit count: 205

Filed under:
|
|

I have an ASP.NET page which utilizes jQuery for an autocomplete-type scenario. The jQuery tucks the actual selected values into a hidden field it creates on the fly, but for some reason I cannot get the value of that standard HTML field on postback by calling Request.Form["HiddenFieldName"]. I can see it by ordinal in the Request.Form object, but if I add/remove controls it will break. Any suggestions?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery