Is there a way to determine if a form with id/name X is submitted without checking the Request.Form
object?
The reason I am asking is because I have some common code (executes on every pageload) which checks if the login/logout form has been submitted, and this conflicts with some file upload pages (because it needs to use Request.binaryRead
- which can't be used after using Request.Form
).
How does one typically handle this?
Same Question here, but there are no good answers. Access form post Data without request.Form