By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,939 Members | 1,546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,939 IT Pros & Developers. It's quick & easy.

Any limitation on View State Size

P: n/a
Hello Folks;
I am working in ASP.NET application. I would like to know how much
characters ( OR How much Size?) I can keep in View State variable. I
want the limitation in its size. Is there any way to change/set this
view state value.

Thanks in advance!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
I don't believe there is a limitation. You will however see a performance
difference, as large view state, means the size of the page is large and
takes longer to download and transmit when posting back. This can be
especially important for users still on a dial up connection.

"praveen" <pr**************@satyam-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
Hello Folks;
I am working in ASP.NET application. I would like to know how much
characters ( OR How much Size?) I can keep in View State variable. I
want the limitation in its size. Is there any way to change/set this
view state value.

Thanks in advance!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #2

P: n/a
As much as you feel comfortable sending to the browser. The problem with
putting too much in ViewState is page load times. Everything in ViewState is
sent to the client. Since you have to take a server trip to consume this
information, it does not make sense to store something like War and Peace in
this variable.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"praveen" <pr**************@satyam-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
Hello Folks;
I am working in ASP.NET application. I would like to know how much
characters ( OR How much Size?) I can keep in View State variable. I
want the limitation in its size. Is there any way to change/set this
view state value.

Thanks in advance!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #3

P: n/a
How long do you want the client browser to wait for the complete download of
the page? There's your limitation, the only one that I'm aware of.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"praveen" <pr**************@satyam-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
Hello Folks;
I am working in ASP.NET application. I would like to know how much
characters ( OR How much Size?) I can keep in View State variable. I
want the limitation in its size. Is there any way to change/set this
view state value.

Thanks in advance!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #4

P: n/a
How long do you want the client browser to wait for the complete download of
the page? There's your limitation, the only one that I'm aware of.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"praveen" <pr**************@satyam-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
Hello Folks;
I am working in ASP.NET application. I would like to know how much
characters ( OR How much Size?) I can keep in View State variable. I
want the limitation in its size. Is there any way to change/set this
view state value.

Thanks in advance!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #5

P: n/a
while there is no published limit to the max size of a hidden field
(implementation of viewstate) and most browsers allow large sizes, some
proxy servers are known to limit them to 4k.

-- bruce (sqlwork.com)

"praveen" <pr**************@satyam-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
Hello Folks;
I am working in ASP.NET application. I would like to know how much
characters ( OR How much Size?) I can keep in View State variable. I
want the limitation in its size. Is there any way to change/set this
view state value.

Thanks in advance!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.