
I want to access my HTML input Text-type text box in my backend c# code. When i does it return NULL value.What i have done yet:
1.string un = Request.Form["emailBox"];
2. string unemailBox.Value
All time it, return NULL Value.

I want to access my HTML input Text-type text box in my backend c# code. When i does it return NULL value.Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pradeep ShetPosted Jul 11, 2014, 2:38 PM
It depends how is your page designed,if you have a masterpage the contentplaceholderid would be prefixed before textbox name. If you have a panel within which your text box is placed the panelid would be added. Better if possible share your code. It will give a better idea.
Anupam SinghPosted Jul 10, 2014, 12:37 AM
Share your complete source code .
If you are using html controls then you must specify post action explicitly.
Abhishek Kumar RaviPosted Jul 9, 2014, 3:16 PM
Abhishek Kumar RaviPosted Jul 9, 2014, 3:06 PM
Pradeep ShetPosted Jul 9, 2014, 2:48 AM
Guest UserPosted Jul 8, 2014, 10:43 PM
twitter @sumitjolly