Hi
How can i reduce the viewstate for my asp.net application. It is getting
very large now. What is a good solution?
thanks
N 12 1889
re:
!How can i reduce the viewstate for my asp.net application.
<%@ Page Language="C#" EnableViewState="false" %>
or
<%@ Page Language="VB" EnableViewState="false" %>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Nick C" <be****@gmail.comwrote in message news:eX**************@TK2MSFTNGP02.phx.gbl...
Hi
How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a
good solution?
thanks
N
Hello Nick,
just turn viewstate off for the controls.
In case of grid, consider avoid using datagrid and switch to gridview
See there http://msdn.microsoft.com/msdnmag/is.../10/ViewState/
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
NCHi
NC>
NCHow can i reduce the viewstate for my asp.net application. It is
NCgetting very large now. What is a good solution?
NC>
NCthanks
NC>
NCN
NC>
Be careful, in many cases viewstate needs to be enabled. You can set
EnableViewState="false" on the page level and EnableViewState="true" for
individual controls that need it.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
re:
!How can i reduce the viewstate for my asp.net application.
<%@ Page Language="C#" EnableViewState="false" %>
or
<%@ Page Language="VB" EnableViewState="false" %>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Nick C" <be****@gmail.comwrote in message
news:eX**************@TK2MSFTNGP02.phx.gbl...
>Hi
How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution?
thanks
N
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:uQ**************@TK2MSFTNGP04.phx.gbl...
Be careful, in many cases viewstate needs to be enabled. You can set
EnableViewState="false" on the page level and EnableViewState="true" for
individual controls that need it.
That's what I do...
-- http://www.markrae.net
"Michael Nemtsev" <ne*****@msn.comwrote in message
news:a2***************************@msnews.microsof t.com...
In case of grid, consider avoid using datagrid and switch to gridview
Yes indeed - and there are many other good reasons to prefer GridView to
DataGrid...
-- http://www.markrae.net
re:
!Be careful, in many cases viewstate needs to be enabled.
Which cases *need* viewstate ?
I've never missed viewstate because I never program against the viewstate.
I prefer alternate methods of persisting the page/control info viewstate persists.
Viewstate is only one of several ways to persist page/control info you're interested in.
Viewstate contains all of a page's information *except* the data
which is available in the Request.Form collection, (PostData).
ASP.NET automatically populates control values with the data from Request.Form,
however, and I prefer using Session values to persist other types of data.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in message
news:uQ**************@TK2MSFTNGP04.phx.gbl...
Be careful, in many cases viewstate needs to be enabled. You can set EnableViewState="false" on
the page level and EnableViewState="true" for individual controls that need it.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>re: !How can i reduce the viewstate for my asp.net application.
<%@ Page Language="C#" EnableViewState="false" %>
or
<%@ Page Language="VB" EnableViewState="false" %> Juan T. Llibre, asp.net MVP asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ ====================================== "Nick C" <be****@gmail.comwrote in message news:eX**************@TK2MSFTNGP02.phx.gbl...
>>Hi
How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution?
thanks
N
I do use viewstate for persisting, mostly for storing small pieces of data
like boolean and integer properties. But in this aspect you are right, you
can persist data in other ways.
What viewstate is indeed necessary for is keeping control state between
postbacks. A simple example: item selection in a dropdown list. With
viewstate disabled you won't know what item is selected. And you will have
to re-populate the ddl on every postback.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:ua**************@TK2MSFTNGP05.phx.gbl...
re:
!Be careful, in many cases viewstate needs to be enabled.
Which cases *need* viewstate ?
I've never missed viewstate because I never program against the viewstate.
I prefer alternate methods of persisting the page/control info viewstate
persists.
Viewstate is only one of several ways to persist page/control info you're
interested in.
Viewstate contains all of a page's information *except* the data
which is available in the Request.Form collection, (PostData).
ASP.NET automatically populates control values with the data from
Request.Form,
however, and I prefer using Session values to persist other types of data.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message
news:uQ**************@TK2MSFTNGP04.phx.gbl...
>Be careful, in many cases viewstate needs to be enabled. You can set EnableViewState="false" on the page level and EnableViewState="true" for individual controls that need it.
-- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Juan T. Llibre" <no***********@nowhere.comwrote in message news:%2****************@TK2MSFTNGP02.phx.gbl...
>>re: !How can i reduce the viewstate for my asp.net application.
<%@ Page Language="C#" EnableViewState="false" %>
or
<%@ Page Language="VB" EnableViewState="false" %> Juan T. Llibre, asp.net MVP asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ ====================================== "Nick C" <be****@gmail.comwrote in message news:eX**************@TK2MSFTNGP02.phx.gbl... Hi
How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution?
thanks
N
Hello Eliyahu,
For such cases the ControlState was introduced in ASP.net 2.0, where all
critical info can be persisted even if viewstate is turned off
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
EGI do use viewstate for persisting, mostly for storing small pieces
EGof data like boolean and integer properties. But in this aspect you
EGare right, you can persist data in other ways.
EG>
EGWhat viewstate is indeed necessary for is keeping control state
EGbetween postbacks. A simple example: item selection in a dropdown
EGlist. With viewstate disabled you won't know what item is selected.
EGAnd you will have to re-populate the ddl on every postback
EG>
Juan,
>I've never missed viewstate because I never program against the viewstate.
So, How do you manage (without viewstate) to track declarative and
dynamic changes to the properties of server controls?
>I prefer alternate methods of persisting the page/control info viewstate persists. Viewstate is only one of several ways to persist page/control info you're interested in.
What are such alternate methods?
>ASP.NET automatically populates control values with the data from Request.Form, however, and I prefer using Session values to persist other types of data.
True, as long as the controls implement IPostBackDataHandler
interface. But somehow I'am not quite sure where do you persist the
controls properties state without viewstate
I am not trying to be nit picky, curious to know how you are managing
things differently.
Raaj
On Jun 11, 8:43 am, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!Be careful, in many cases viewstate needs to be enabled.
Which cases *need* viewstate ?
I've never missed viewstate because I never program against the viewstate.
I prefer alternate methods of persisting the page/control info viewstate persists.
Viewstate is only one of several ways to persist page/control info you'reinterested in.
Viewstate contains all of a page's information *except* the data
which is available in the Request.Form collection, (PostData).
ASP.NET automatically populates control values with the data from Request..Form,
however, and I prefer using Session values to persist other types of data.
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.orgwrote in message
news:uQ**************@TK2MSFTNGP04.phx.gbl...
Be careful, in many cases viewstate needs to be enabled. You can set EnableViewState="false" on
the page level and EnableViewState="true" for individual controls that need it.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Juan T. Llibre" <nomailrepl...@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
re:
!How can i reduce the viewstate for my asp.net application.
<%@ Page Language="C#" EnableViewState="false" %>
or
<%@ Page Language="VB" EnableViewState="false" %>
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================
"Nick C" <bef...@gmail.comwrote in messagenews:eX**************@TK2MSFTNGP02.phx.gbl. .. Hi
>How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution?
>thanks
>N- Hide quoted text -
- Show quoted text -
re:
!So, How do you manage (without viewstate) to track declarative and
!dynamic changes to the properties of server controls?
Can you describe a real-life example of needing to do that with viewstate ?
re:
!What are such alternate methods?
ControlState: http://msdn2.microsoft.com/en-us/library/ms178577.aspx
re:
!somehow I'am not quite sure where do you persist the
!controls properties state without viewstate
Read up on ControlState.
To read Microsoft's recommendations for maintaining state across a wide range of properties, see : http://msdn2.microsoft.com/en-us/library/z1hkazw7.aspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Raaj" <ra***********@yahoo.comwrote in message
news:11**********************@q69g2000hsb.googlegr oups.com...
Juan,
>I've never missed viewstate because I never program against the viewstate.
So, How do you manage (without viewstate) to track declarative and
dynamic changes to the properties of server controls?
>I prefer alternate methods of persisting the page/control info viewstate persists. Viewstate is only one of several ways to persist page/control info you're interested in.
What are such alternate methods?
>ASP.NET automatically populates control values with the data from Request.Form, however, and I prefer using Session values to persist other types of data.
True, as long as the controls implement IPostBackDataHandler
interface. But somehow I'am not quite sure where do you persist the
controls properties state without viewstate
I am not trying to be nit picky, curious to know how you are managing
things differently.
Raaj
On Jun 11, 8:43 am, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!Be careful, in many cases viewstate needs to be enabled.
Which cases *need* viewstate ?
I've never missed viewstate because I never program against the viewstate.
I prefer alternate methods of persisting the page/control info viewstate persists.
Viewstate is only one of several ways to persist page/control info you're interested in.
Viewstate contains all of a page's information *except* the data
which is available in the Request.Form collection, (PostData).
ASP.NET automatically populates control values with the data from Request.Form,
however, and I prefer using Session values to persist other types of data.
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.org>
wrote in message
news:uQ**************@TK2MSFTNGP04.phx.gbl...
Be careful, in many cases viewstate needs to be enabled. You can set EnableViewState="false" on
the page level and EnableViewState="true" for individual controls that need it.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Juan T. Llibre" <nomailrepl...@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
re:
!How can i reduce the viewstate for my asp.net application.
<%@ Page Language="C#" EnableViewState="false" %>
or
<%@ Page Language="VB" EnableViewState="false" %>
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================
"Nick C" <bef...@gmail.comwrote in messagenews:eX**************@TK2MSFTNGP02.phx.gbl. .. Hi
>How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution?
>thanks
>N- Hide quoted text -
- Show quoted text -
To be clear by viewstate I am referring to hidden form fields
(explanation below)
>re:
!What are such alternate methods?
>ControlState: http://msdn2.microsoft.com/en-us/library/ms178577.aspx
I still wonder if this makes a difference. Isn't the bulk of control
state still persisted in the hidden _viewstate field, eventually the
state of the controls go through the round trip
So if the original post was restated as "How can I reduce the hidden
fields for my asp.net application? It is getting very large now. What
is a good solution? "What would be the probable answer?
re:
!So, How do you manage (without viewstate) to track declarative and
!dynamic changes to the properties of server controls?
>Can you describe a real-life example of needing to do that with viewstate ?
Assuming we are extending a web control and say we created a new
property as part of this control. The user of this control sets the
initial value of the property declaratively through the property
window or as part of the html markup. Now one of the server side event
changes the value of this property, where is the new value stored, how
will the framework track the changes to the property, what are the
placeholders for the framework to determine if the value is dirty. I
presume everything does eventually end up in hidden fields, don't
they?
>I prefer alternate methods of persisting the page/control info viewstate persists
It appears you are persisting the state of the controls through the
hidden fields
On Jun 11, 4:00 pm, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!So, How do you manage (without viewstate) to track declarative and
!dynamic changes to the properties of server controls?
Can you describe a real-life example of needing to do that with viewstate?
re:
!What are such alternate methods?
ControlState:
http://msdn2.microsoft.com/en-us/library/ms178577.aspx
re:
!somehow I'am not quite sure where do you persist the
!controls properties state without viewstate
Read up on ControlState.
To read Microsoft's recommendations for maintaining state across a wide range of properties, see :
http://msdn2.microsoft.com/en-us/library/z1hkazw7.aspx
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================"Raaj" <raaj.umapa...@yahoo.comwrote in message
news:11**********************@q69g2000hsb.googlegr oups.com...
Juan,
I've never missed viewstate because I never program against the viewstate.
So, How do you manage (without viewstate) to track declarative and
dynamic changes to the properties of server controls?
I prefer alternate methods of persisting the page/control info viewstatepersists.
Viewstate is only one of several ways to persist page/control info you're interested in.
What are such alternate methods?
ASP.NET automatically populates control values with the data from Request.Form,
however, and I prefer using Session values to persist other types of data.
True, as long as the controls implement IPostBackDataHandler
interface. But somehow I'am not quite sure where do you persist the
controls properties state without viewstate
I am not trying to be nit picky, curious to know how you are managing
things differently.
Raaj
On Jun 11, 8:43 am, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!Be careful, in many cases viewstate needs to be enabled.
Which cases *need* viewstate ?
I've never missed viewstate because I never program against the viewstate.
I prefer alternate methods of persisting the page/control info viewstate persists.
Viewstate is only one of several ways to persist page/control info you're interested in.
Viewstate contains all of a page's information *except* the data
which is available in the Request.Form collection, (PostData).
ASP.NET automatically populates control values with the data from Request.Form,
however, and I prefer using Session values to persist other types of data.
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.org>
wrote in message
news:uQ**************@TK2MSFTNGP04.phx.gbl...
Be careful, in many cases viewstate needs to be enabled. You can set EnableViewState="false" on
the page level and EnableViewState="true" for individual controls that need it.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
>http://msmvps.com/blogs/egoldin
>http://usableasp.net
"Juan T. Llibre" <nomailrepl...@nowhere.comwrote in message
>news:%2****************@TK2MSFTNGP02.phx.gbl...
>re:
>!How can i reduce the viewstate for my asp.net application.
><%@ Page Language="C#" EnableViewState="false" %>
>or
><%@ Page Language="VB" EnableViewState="false" %>
>Juan T. Llibre, asp.net MVP
>asp.net faq :http://asp.net.do/faq/
>foros de asp.net, en español :http://asp.net.do/foros/
>======================================
>"Nick C" <bef...@gmail.comwrote in messagenews:eX**************@TK2MSFTNGP02.phx.gbl. ..
>>Hi
>>How can i reduce the viewstate for my asp.net application. It is getting very large now. What
>>is
>>a good solution?
>>thanks
>>N- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -
re:
!To be clear by viewstate I am referring to hidden form fields
You mean that viewstate uses *one* hidden field ( singular ).
Other hidden fields don't hold StateBag information.
re:
!ControlState:
! http://msdn2.microsoft.com/en-us/library/ms178577.aspx
!Isn't the bulk of control state still persisted in the hidden _viewstate field ?
No. You don't have to have Viewstate enabled in order to be able to use ControlState.
Review the link provided above...
re:
!Assuming we are extending a web control and say we created a new property as part
!of this control. The user of this control sets the initial value of the property declaratively
!through the property window or as part of the html markup.
!Now one of the server side event changes the value of this property, where is the
!new value stored, how will the framework track the changes to the property,
!what are the placeholders for the framework to determine if the value is dirty.
While that sounds like an interesting theoretical proposition,
I haven't found the need to do that in any application I've developed.
re:
!I presume everything does eventually end up in hidden fields, don't they?
You may be presuming a bit too much.
;-)
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Raaj" <ra***********@yahoo.comwrote in message
news:11*********************@x35g2000prf.googlegro ups.com...
To be clear by viewstate I am referring to hidden form fields
(explanation below)
>re:
!What are such alternate methods?
ControlState: http://msdn2.microsoft.com/en-us/library/ms178577.aspx
I still wonder if this makes a difference. Isn't the bulk of control
state still persisted in the hidden _viewstate field, eventually the
state of the controls go through the round trip
So if the original post was restated as "How can I reduce the hidden
fields for my asp.net application? It is getting very large now. What
is a good solution? "What would be the probable answer?
re:
!So, How do you manage (without viewstate) to track declarative and
!dynamic changes to the properties of server controls?
>Can you describe a real-life example of needing to do that with viewstate ?
Assuming we are extending a web control and say we created a new property as part
of this control. The user of this control sets the initial value of the property declaratively
through the property window or as part of the html markup.
Now one of the server side event changes the value of this property, where is the
new value stored, how will the framework track the changes to the property,
what are the placeholders for the framework to determine if the value is dirty.
I presume everything does eventually end up in hidden fields, don't they?
>I prefer alternate methods of persisting the page/control info viewstate persists
It appears you are persisting the state of the controls through the
hidden fields
On Jun 11, 4:00 pm, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!So, How do you manage (without viewstate) to track declarative and
!dynamic changes to the properties of server controls?
Can you describe a real-life example of needing to do that with viewstate ?
re:
!What are such alternate methods?
ControlState:
http://msdn2.microsoft.com/en-us/library/ms178577.aspx
re:
!somehow I'am not quite sure where do you persist the
!controls properties state without viewstate
Read up on ControlState.
To read Microsoft's recommendations for maintaining state across a wide range of properties, see :
http://msdn2.microsoft.com/en-us/library/z1hkazw7.aspx
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================"Raaj" <raaj.umapa...@yahoo.comwrote in message
news:11**********************@q69g2000hsb.googlegr oups.com...
Juan,
I've never missed viewstate because I never program against the viewstate.
So, How do you manage (without viewstate) to track declarative and
dynamic changes to the properties of server controls?
I prefer alternate methods of persisting the page/control info viewstate persists.
Viewstate is only one of several ways to persist page/control info you're interested in.
What are such alternate methods?
ASP.NET automatically populates control values with the data from Request.Form,
however, and I prefer using Session values to persist other types of data.
True, as long as the controls implement IPostBackDataHandler
interface. But somehow I'am not quite sure where do you persist the
controls properties state without viewstate
I am not trying to be nit picky, curious to know how you are managing
things differently.
Raaj
On Jun 11, 8:43 am, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!Be careful, in many cases viewstate needs to be enabled.
Which cases *need* viewstate ?
I've never missed viewstate because I never program against the viewstate.
I prefer alternate methods of persisting the page/control info viewstate persists.
Viewstate is only one of several ways to persist page/control info you're interested in.
Viewstate contains all of a page's information *except* the data
which is available in the Request.Form collection, (PostData).
ASP.NET automatically populates control values with the data from Request.Form,
however, and I prefer using Session values to persist other types of data.
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================"Eliyahu Goldin"
<REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.org>
wrote in message
news:uQ**************@TK2MSFTNGP04.phx.gbl...
Be careful, in many cases viewstate needs to be enabled. You can set EnableViewState="false"
on
the page level and EnableViewState="true" for individual controls that need it.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
>http://msmvps.com/blogs/egoldin
>http://usableasp.net
"Juan T. Llibre" <nomailrepl...@nowhere.comwrote in message
>news:%2****************@TK2MSFTNGP02.phx.gbl...
>re:
>!How can i reduce the viewstate for my asp.net application.
><%@ Page Language="C#" EnableViewState="false" %>
>or
><%@ Page Language="VB" EnableViewState="false" %>
>Juan T. Llibre, asp.net MVP
>asp.net faq :http://asp.net.do/faq/
>foros de asp.net, en español :http://asp.net.do/foros/
>======================================
>"Nick C" <bef...@gmail.comwrote in messagenews:eX**************@TK2MSFTNGP02.phx.gbl. ..
>>Hi
>>How can i reduce the viewstate for my asp.net application. It is getting very large now.
>>What
>>is
>>a good solution?
>>thanks
>>N- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Kirksey |
last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
|
by: Steve Drake |
last post by:
All,
I have a CONTROL that contains 1 control (Control ONE), the 1 control that
it can contain 1 or 2 control (Control A and B).
Control A, raises and event and Control ONE receives this event...
|
by: neo |
last post by:
hi,
I am studying ASP.NET and have few questions -
1) The session ID and values of controls is stored in VIEWSTATE
variable. So now when we put EnableViewState="false" in Page directive and...
|
by: Simon |
last post by:
Hi everyone,
I have a quick question that I hope someone can help me with:
I've made a user control that contains a text box and some validation
functionality. This control has a few extra...
|
by: et |
last post by:
I'm not sure I understand the use of the ViewState.
Do I understand correctly that values of controls are automatically held in
a hidden control called ViewState?
If so, then why can't we get...
|
by: RCS |
last post by:
I have an app that I have different "sections" that I want to switch back
and forth from, all while having the server maintain viewstate for each
page. In other words, when I am on Page1.aspx and...
|
by: Mark Broadbent |
last post by:
Been a while since I've touched asp.net but one thing that always seems to
fustrate me is the loss of state on variable declarations. Is there anyway
(i.e. assigning an attribute etc) to instruct...
|
by: hitendra15 |
last post by:
Hi
I have created web user control which has Repeater control and
Linkbutton in ItemTemplate of repeater control, following is the code
for this control
On first load it runs fine but when...
|
by: paul.hester |
last post by:
Hi all,
Does anyone know why the ViewState would be empty?
When I'm receiving a postback, I can access a posted value using
controlName.Value but not ViewState.
I have EnableViewState set...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |