ViewState in a HttpHandler

Posted by  Ankita Pandey
 1549  View(s)
Rate this:

I have an aspx page that I want to convert to an HttpHandler, but I'm struggling with ViewState that's been used in the code behind of the aspx page. How do you solve this?

  1. Re: ViewState in a HttpHandler

    Hi Ankita, 

    Viewstate is rendered to the client as a hidden form field. You can emulate Viewstate by rendering an Input Type="Hidden" tag to your html.