473,386 Members | 1,621 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,386 software developers and data experts.

Any limitation on View State Size

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
5 7961
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: hills | last post by:
Please reply to hdgbyi@public.guangzhou.gd.cn. Thank you! The limitation of the Photon Hypothesis According to the electromagnetic theory of light, its energy is related to the amplitude...
2
by: Luc | last post by:
is it possible to limit the view state size or is it conditionned by the widgets (controls) placed on a web page?
1
by: Mr. Dot Net | last post by:
One thing you can do is compress the view state prior to sending it through the wire.
2
by: Joseph Geretz | last post by:
I'm developing a Web Service using DIME to download and upload files from and to an IIS server. In order to increase the download filesize to unlimited, I have the following block in my App.config...
6
by: AB | last post by:
Hello all, I heard once that there is a limitation on the number of lines of code that a program can have when using C, but not for C++. Is this true? Any ideas?
15
by: bb nicole | last post by:
The company profile showed blank after user login and click the company profile button. Supposed the company profile should not be blank and will show the company information which call from...
1
by: =?Utf-8?B?Tmls?= | last post by:
Hi, I am facing problem with the huge Viewstate size(Using .NET 2.0). to improve the application performance, I am using Static variable to store view state data. Does anyone has other option to...
4
by: leegold58 | last post by:
Hi, Is there a "way around" the size limitation for Access? I'm thinking of something like spanning a huge table accross multiple databases... Something simple and that would preserve the...
5
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Hi All, I am using asp.net session state service to store session. The concurrent online user will be almost 2000. Could asp.net session state service afford this? Is there any limitation...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
Oralloy
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,...
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.