Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: SaveViewState, LoadViewState and the WebControls' ViewState property


Message #1 by =?windows-1255?B?5unlIPT46ePu7w==?= <zivf@m...> on Sun, 23 Dec 2001 11:54:19 +0200
I am now writing myself some web controls, and I have found that if I

write the data to the ViewState object, I don't need the objects passed

and returned from:



void LoadViewState(object savedState)

and

object SaveViewState()



what I do is use these function to place viewstate handling code, but

using interaction with the ViewState object and not the objects passed

and returned from the functions.



Does anyone know if what I do is: the same/better/worse than using these

objects?


  Return to Index