I have never worked on classic ASP and unfortunately I am supposed to modify an old classic ASP web site.
ASP.Net ViewState does take care of maintaining control’s state automatically. How do I do it in classic ASP?
I have two radio buttons and a text box placed on my ASP page. When the user types in something in the text box based on radio button selection we display different search results. Now what I need is to keep the previously selected radio button as checked after the page is postbacked. How do I do that?
You use Request.Forms[“rbcontrolname”] to retreieve the posted back value and then render out the radio button with same value it had before. There is no concept of server controls in classic asp, html controls have to be used.