handling multiple submit buttons in one form (asp.net webforms)
I came across an issue where I had the following setup with an asp.net website: I had a master page with one main form element I had a submit button in the master page which acts as a search button across the website I had a login page that also has a submit button Naturally [...]
W3C Validation and ASP.NET ViewState
The problem I came across a very interesting point about validating XHTML pages using W3C XHTML Strict and ViewState. By default ASP.NET ViewState adds a number of hidden fields to handle the postback of ASP.NET pages, control state and control event validation. See example below. <input type=”hidden” name=”__VIEWSTATE” id=”__VIEWSTATE” value=”” /> When validating web pages [...]


