I can get the value of non server control with Request.Form[“fieldID”];
how i can get the attributes of these control?
some think like these :
Request.Form[“fieldID”].Attribute[“the_Attribute”].value;
or any other way
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.
You’re able to get the fieldId because its value is included in the POST, its attributes however will not be.
I’d recommend using something like firebug or fiddler to see the info that’s coming in on the request, or even using the locals or immediate window to explore the Request.Form object to get a feel for what you can/can’t do in this kind of situation.