Re: Technical Question: Is it possible to run without viewstate?

  •  08-01-2006, 5:04 PM

    Re: Technical Question: Is it possible to run without viewstate?

    adam,
     
    thanks for your reply.
     
    it's rather difficult to extract the functionality out of my very large project, but I'm looking forward to create a simple example project. this will take me some time.
     
    technically, the procedure is as follows:
    - i have a classlibrary project, not a standard asp.net one built into a bin-directory and run via webserver alias.
    - i have a httphandler (inherits from Page) instead of an aspx-page
    - this handler does not provide viewstate as it does not load any controls that need would need it
    - i render my controls dynamically, so there is no <bla runat=server> but a Page.LoadControl("bla").RenderControl(writer) call.
    - before that, i have to call several control events asp.net would call (onload, onprerender etc.)
     
    anyways, this procedure worked fine for 1.1, but not with 2.0. i suppose something has changed within internal aspnet processing.
     
    i'll have a sample ready in a few hours.
     
    cheers,
    matt
     
View Complete Thread