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