IsTrackingViewState?

  • Thread starter Thread starter Sky Sigal
  • Start date Start date
S

Sky Sigal

Hello: I'm looking at a function in a book -- and one part of it is not
clearly described in VS2002's help files: IsTrackingViewState and
TrackViewState;

the code is:

public Style StyleForInnerTextBox {
get {
if (_StyleForInnerTextBox==null){
_StyleForInnerTextBox = new Style();
if
(IsTrackingViewState){((IsTrackingViewState)StyleForInnerTextBox).TrackViewS
tate();};
}
}


And my question is what is the correlation between these two commands and
EnableViewState? Is there any? Is the only function of TrackViewState() to
set EnableViewState to true? Or is there something else going on? -- hence
my question :-)

Thank you,
Sky
 
Are you sure that this is not a user defined function that exists in your
book as part of some sample code?
 

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

Back
Top