Controls state

  • Thread starter Thread starter MarcusStudentum
  • Start date Start date
M

MarcusStudentum

Hello there i was using the control state because we have disabled Viewstate
on a particular page. And i noticed that SaveControlState() is called twice.

If you put a trace.warn in SaveControlState you will see it too. It happens
on Visual 2005 and Vs 2008. I tested it on a totally clean page and it
happens there too.

I am wondering is it a bug or is it supposed to be like that? And if it
supposed to work like that, then i would like to know why?
 
Did you note it by turning trace on? When tracing is enabled it is called
twice to estimate the state size.
 
Back
Top