Wednesday, 13 April 2011

Html form not submitting values to server code c#

If you have a HTML form like this within a .NET master page and you not getting values make sure you have a name attribute for each control. I had an id attribute and this was not submitting. Correct form below:

<input name="search" type="text">
<input type="submit" value="Submit">

No comments: