I'm having a very strange problem with our ASP.NET application. It is losing the value of a HiddenField on the pages that I had programmed. I will explain the situation in a simple way:
Select Case hf_PageState.Value Case "new" 'Validate data only on new '... Case "modify", "delete" 'Validate data only on modify or delete '... Case Else 'Critic error Throw New Exception("HiddenField Value lost") End Select
This button is only available after using any of the 3 buttons mentioned before.
¿There is a way a HiddenField can lost their values assigned for any reason? This weird problem happened now on 2 pages with distinct logic function.