Request.Form[key] has a hashtable-like interface, but I doubt that’s how it works. Is there a hashing mechanism for the current Page control set?
How would one pass along a hashed set of all controls between postbacks?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
TextBox ControlId = (TextBox) FindControl("ControlId")works and this library on CodePlex has an extension to enable searching the control tree recursively, which is a common issue (where FindControl returns null or the control otherwise seems to be out of scope).Also, you should be able to get the value of any control by checking the ControlId.Value property (or what ever the relevant property is, it is different for Label, TextBox, DropDownList, etc)