473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

IsTrackingViewState?

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)StyleF orInnerTextBox).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
Nov 18 '05 #1
1 1227
Are you sure that this is not a user defined function that exists in your
book as part of some sample code?
"Sky Sigal" <as*******@xact-solutions.removethis.com> wrote in message
news:ug**************@TK2MSFTNGP10.phx.gbl...
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)StyleF orInnerTextBox).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

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gilberto Carcano | last post by:
Is there a way to avoid public custom properties to persist in the ASPX code? I'have a class for columns collection in a Web Control i'm writing. This class must to implement the IStateManager...
0
by: Sky Sigal | last post by:
Hello: I'm having a little trouble understanding how to effectively offer Style control on the subelements of a Composite control. The book I have is pointing towards a certain set of steps that...
7
by: Jan Nielsen | last post by:
Hi all I am learning Asp.Net using Vb.net (VS 2002). I found the following example in a book: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
0
by: Mike Hofer | last post by:
Hi everyone. I could really use some help. First, the backstory: ===================== I *really* need a 3-state checkbox for my ASP.NET application. Specifically, I need one that lets me set...
6
by: Shimon Sim | last post by:
I am writing a control and need to introduce custom nested property. I need it to look exactly as XXXStyle properties for DataGrid. I starting looking into TypeConverters and it seems that I need...
4
by: Lee Chapman | last post by:
Hi, Can anyone tell me why in the code below, the call to ClearChildViewState() has no effect? To paraphrase the code: I'm using view state. I have a textbox and a submit button (and a label...
13
by: John Rivers | last post by:
Here is an example of what I am talking about: asp.net takes what is a very simple, powerful and flexible concept, http request/response with html for presentation and turns it into a...
0
by: fwirtanen | last post by:
I am building a custom composite control consisting of two drop downs, with parent/child dependancy. The child dropdownlist is updated through client callback when the parent index changes. ...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.