Controls state

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?
 
T

Teemu Keiski

Did you note it by turning trace on? When tracing is enabled it is called
twice to estimate the state size.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,176
Messages
2,570,947
Members
47,501
Latest member
Ledmyplace

Latest Threads

Top