Thanks Cor
I got the answer.
Actually I expect if I disable the viewstate the data may not be loaded. But
its wrong the data will be loaded by the load postdata event. In the
loadviewstate it loads only the State of the Control. for Example
TextBox1.Font.Bold=True like this.
B. Sundar
[quoted text, click to view] "Cor Ligthert" wrote:
> Sundar,
>
> When you set the viewstate to false the let desrtiption of the properties of
> the textbox is not in a viewstate however inline in HTML code.
>
> Open for that the sourcecode from a showed page than you will see that.
>
> I hope this helps?
>
> Cor
>
> "Sundar" <Sundar@discussions.microsoft.com>
>
> > Hi
> > Im having one doubt in Viewstate. Actually Viewstate is used to maintain
> > the
> > state of the controls for postback of the page. If I Set the Page level
> > EnableViewState=False and the Viewstate for the control (say Textbox) as
> > False. Now Im posting form for process then again im getting the value in
> > the
> > textbox(i disabled the viewstate) then why?
> >
> >
>
>
Sundar,
When you set the viewstate to false the let desrtiption of the properties of
the textbox is not in a viewstate however inline in HTML code.
Open for that the sourcecode from a showed page than you will see that.
I hope this helps?
Cor
"Sundar" <Sundar@discussions.microsoft.com>
[quoted text, click to view] > Hi
> Im having one doubt in Viewstate. Actually Viewstate is used to maintain
> the
> state of the controls for postback of the page. If I Set the Page level
> EnableViewState=False and the Viewstate for the control (say Textbox) as
> False. Now Im posting form for process then again im getting the value in
> the
> textbox(i disabled the viewstate) then why?
>
>