473,748 Members | 5,849 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7974
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
1958
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 of the electric field of the electromagnetic wave, W=eE^2(where E is the amplitude). It apparently has nothing to do with the light's circular frequency v.
2
1553
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
1204
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
14344
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 and Web.config files: <messaging> <maxRequestLength>-1</maxRequestLength> </messaging> The largest file I've downloaded is 70 meg and that's more than plenty for me. However, I'm finding that on upload, if I attempt to upload greater than
6
2709
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
2289
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 database. I use the session in login page. Thus, in the begining of companyProfile's coding, i put session_start();. What is the problem of my php code?? Thanks.. <?php ob_start(); session_start(); include_once("database.php"); if($_GET ==...
1
5182
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 improve performance or what r drawback of using Static variable. Thanks, Nil
4
2550
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 integrity of the DB yet let me overcome the size limitation. Is there any best practice or technique?
5
5900
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 about asp.net session state service? -Billy
0
8823
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9530
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9312
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9238
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6073
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4593
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.