<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>eugene.K &#187; viewstate</title>
	<atom:link href="http://ekdd.co.il/tag/viewstate/feed/" rel="self" type="application/rss+xml" />
	<link>http://ekdd.co.il</link>
	<description>web developer to web developers</description>
	<lastBuildDate>Tue, 22 Sep 2009 06:05:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>HOWTO: Limit Viewstate length</title>
		<link>http://ekdd.co.il/limit-viewstate-length/</link>
		<comments>http://ekdd.co.il/limit-viewstate-length/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 16:00:23 +0000</pubDate>
		<dc:creator>eugene</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[viewstate]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://ekdd.co.il/?p=4</guid>
		<description><![CDATA[In some occasions browsers may block or truncate  generated viewstate due to it’s length. This short tweak may solve the issue  by dividing the viewstate to independent hidden fields based on the number you provide as value. In this example maxPageStateFieldLength set to 50 this means when viewstate get beyond 50 characters it will be [...]]]></description>
			<content:encoded><![CDATA[<p><strong>In</strong> some occasions browsers may block or truncate  generated viewstate due to it’s length. This short tweak may solve the issue  by dividing the viewstate to independent hidden fields based on the number you provide as value. In this example <em>maxPageStateFieldLength</em> set to<em> 50</em> this means when viewstate get beyond 50 characters it will be broken to different hidden fields holding viewstate’s value</p>
<p><span id="more-4"></span></p>
<p><strong>code :</strong></p>
<pre class="brush: xml">

&lt;system.web&gt;
&lt;pages maxPageStateFieldLength=&quot;50&quot;&gt;
&lt;controls /&gt;
&lt;/pages&gt;
&lt;/system.web&gt;
</pre>
<p>* put this code as <em>&lt;pages&gt;</em> attribute inside of <em>&lt;web.section&gt;</em> section in web.config</p>
]]></content:encoded>
			<wfw:commentRss>http://ekdd.co.il/limit-viewstate-length/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
