Getting the old value of a asp.net control on postback

Posted by D3no on Stack Overflow See other posts from Stack Overflow or by D3no
Published on 2010-02-09T03:02:23Z Indexed on 2010/05/14 3:14 UTC
Read the original article Hit count: 180

Filed under:
|

I want to be able to find the old value of a asp.net control (textbox, checkbox etc) without relying on events (e.g. OnTextChange event). Something like "someTextboxControl.OldText" would be perfect! I imagine that it is stored in the viewstate and need to somehow get at it via a custom control. Any ideas?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about viewstate