<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET Dynamic Data</title><link>http://forums.asp.net/1145.aspx</link><description>Discussions regarding the new scaffolding framework in ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2220387.aspx</link><pubDate>Sat, 08 Mar 2008 10:11:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2220387</guid><dc:creator>nati28</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2220387.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2220387</wfw:commentRss><description>&lt;font color="#0000ff"&gt;
&lt;p dir="ltr"&gt;&lt;font face="Times New Roman" color="#000000" size="3"&gt;I found the problem: &lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;font face="Times New Roman"&gt;&lt;font size="3"&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;asp&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;:&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;LinqDataSource&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:red;"&gt;StoreOriginalValuesInViewState&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=false&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;font face="Times New Roman" color="#000000" size="3"&gt;Solve it...&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;font face="Times New Roman" color="#000000" size="3"&gt;Thanks for everyone that helps me with this issue&lt;/font&gt;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font color="#000000" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt; 
&lt;p&gt;&lt;font color="#0000ff" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="3"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2220310.aspx</link><pubDate>Sat, 08 Mar 2008 08:19:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2220310</guid><dc:creator>nati28</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2220310.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2220310</wfw:commentRss><description>&lt;font face="Calibri"&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Thanks David,&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font face="Calibri"&gt;You are right, the component that enlarged the viewstate is the &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:green;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;DynamicDetailsView (when setting &lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;asp&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;:&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;LinqDataSource&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:black;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:red;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;EnableViewState&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;=false &amp;gt; &lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font face="Calibri"&gt;the page size is fine - and the select action on the grid doesn&amp;#39;t work...)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font face="Calibri"&gt;When I use only the&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:green;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;asp&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;:&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;DynamicGridView&amp;gt; &lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;the page size is fine…&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;I&amp;#39;ll try to find out why…&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Does anyone have an idea?&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font face="Calibri"&gt;Thanks,&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2219901.aspx</link><pubDate>Fri, 07 Mar 2008 22:14:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2219901</guid><dc:creator>davidebb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2219901.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2219901</wfw:commentRss><description>&lt;p&gt;Strange, I&amp;#39;m not seeing this.&amp;nbsp; I see the ViewState get larger as I add more columns.&amp;nbsp; Does your page also contain some filters (i.e. drop downs)?&amp;nbsp; Those also contribute to the view state, and for foreign keys into tables with lots of rows they can make a big difference.&amp;nbsp; To do a valid comparison between the DynamicGridView and the regular GridView, you would need to reduce the default page to only have the DynamicGridView and LinqDataSource, and not any of the other things (filters, detailsview, etc...).&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2219854.aspx</link><pubDate>Fri, 07 Mar 2008 21:47:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2219854</guid><dc:creator>nati28</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2219854.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2219854</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;&lt;font color="#0000ff"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font color="#000000"&gt;Yes I did it... &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font color="#000000"&gt;When I use &amp;lt;asp:LinqDataSource&amp;gt; and &amp;lt;asp:GridView&amp;gt; with EnableViewState =true the page size is ~ 80 k (the viesate is represent only then displayed rows &amp;amp; columns.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font color="#000000"&gt;&amp;nbsp;In the DynamicData the viewstate represent all the rows &amp;amp; columns of the grid (not only the displayed ).&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font color="#000000"&gt;In the both scenarios I used paging with the same page size...&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font color="#000000"&gt;I think it&amp;#39;s bug in the &lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;asp&lt;/span&gt;&lt;span style="COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;:&lt;/span&gt;&lt;span style="COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;DynamicGridView&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font color="#000000"&gt;&amp;gt; that the viewstate represent all the rows &amp;amp; columns of the grid and not only the displayed rows &amp;amp; columns.&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;font color="#000000"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;On this case it can works fine only with about 10,000 cels, when the rows * columns = more than 100,000 cells the page size is really huge&lt;/span&gt;&lt;font face="Times New Roman"&gt;. (Of coerce I&amp;#39;m using paging…)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000"&gt;Did someone tried it (&lt;span style="COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;asp&lt;/span&gt;&lt;span style="COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;:&lt;/span&gt;&lt;span style="COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;DynamicGridView&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font color="#000000"&gt;&amp;gt;) &lt;/font&gt;&lt;/span&gt;&amp;nbsp;on large tables ( more than 10,000 rows) ?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2219769.aspx</link><pubDate>Fri, 07 Mar 2008 20:58:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2219769</guid><dc:creator>marcind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2219769.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2219769</wfw:commentRss><description>&lt;p&gt;Nati,&lt;/p&gt;&lt;p&gt;could you write a page that uses a regular GridVIew to display your table and compare how much view state you are seeing without Dynamic Data being involved? Then we would be better able to isolate your problem.&lt;/p&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2217931.aspx</link><pubDate>Fri, 07 Mar 2008 06:14:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2217931</guid><dc:creator>nati28</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2217931.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2217931</wfw:commentRss><description>&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;Of coerce I&amp;#39;m using paging...&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;I never displayed all the columns (only the columns that exists in the code I posted).&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;I tried to display only 1,2,3 columns and the viewstate is still the same (about 1.2 M , total HTML page size 1.5 M).&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;I tried another scenario:&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;Table with about 5 columns and 10,000 rows.&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;using the default templates (with paging...)&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;the page size is 6M !&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;It should be critical bug (i don&amp;#39;t know if it&amp;#39;s belong to LINQ / Dianamic data, &amp;nbsp;or do I miss&amp;nbsp;some configuration ?&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;Thanks,&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="421400606-07032008"&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2217497.aspx</link><pubDate>Thu, 06 Mar 2008 22:21:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2217497</guid><dc:creator>davidebb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2217497.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2217497</wfw:commentRss><description>&lt;p&gt;Do you see the view state changing&amp;nbsp;size as you change the number of displayed columns, or does it make no difference?&amp;nbsp; e.g. if you try 1, 2, 5, 10, 50 columns, how does it affect the size?&lt;/p&gt;
&lt;p&gt;Also, are you displaying all the rows at once, or are you using paging?&amp;nbsp; e.g. If you only display 10&amp;nbsp;rows at a time, you should get less much view state than if you display them all.&lt;/p&gt;
&lt;p&gt;Note that all this is probably not specific to Dynamic Data, and I suspect you&amp;#39;d see similar behavior with a regular GridView &amp;amp; LinqDataSource.&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2217379.aspx</link><pubDate>Thu, 06 Mar 2008 21:17:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2217379</guid><dc:creator>nati28</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2217379.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2217379</wfw:commentRss><description>&lt;div&gt;&lt;font face="Arial" size="2"&gt;Thanks for the reply.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial" size="2"&gt;The viewstate issue is really a big problem ( more than 1.5M...)&lt;br /&gt;Why the grid need viewstate for all the rows &amp;amp; columns (in the DB there are more than 40 column but the grid display only few columns - if the viewstate will represent only the visible column this issue could be solved).&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;It is really cool that we can develop so fast, but 1&lt;span class="546021521-06032008"&gt;5&lt;/span&gt;00 rows with 50 columns in one DB table&amp;nbsp;&lt;span class="546021521-06032008"&gt;should be handle with no problems...&lt;img src="http://forums.asp.net/emoticons/emotion-6.gif" alt="Sad" /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;span class="546021521-06032008"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;span class="546021521-06032008"&gt;I changed my code to &lt;font size="3"&gt;DynamicFields (nothing better...)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Arial"&gt;&lt;font size="3"&gt;&lt;span class="546021521-06032008"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2217243.aspx</link><pubDate>Thu, 06 Mar 2008 20:08:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2217243</guid><dc:creator>marcind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2217243.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2217243</wfw:commentRss><description>&lt;p&gt;Hi nati28,&lt;/p&gt;&lt;p&gt;the ASP.NET 3.5 Extensions preview is an early preview version of the Dynamic Data feature and might not have all of its behavior optimized. In addition, Dynamic Data controls do not currently function with viewstate turned off in edit scenarios. We are working on addressing this issue.&lt;/p&gt;&lt;p&gt;On a side note, you are using BoundFields in your columns collection. To take advantage of the field template feature of Dynamic Data you should be using DynamicFields instead.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2215372.aspx</link><pubDate>Thu, 06 Mar 2008 04:45:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2215372</guid><dc:creator>nati28</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2215372.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2215372</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using the default grid that the template generated. &lt;/p&gt;
&lt;p&gt;I copied it to new folder and gave the folder the table name.&lt;/p&gt;
&lt;p&gt;The only changed I did in the ListDetails.aspx page is to decrease the number of then columns:&lt;/p&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;DynamicGridView&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;GridView1&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;DataSourceID&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;GridDataSource&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;AutoGenerateSelectButton&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;True&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;AutoGenerateEditButton&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;True&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;AutoGenerateDeleteButton&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;True&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;AllowPaging&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;True&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;AllowSorting&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;True&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;EnableQueryStringSelection&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;True&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;OnDataBound&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;OnGridViewDataBound&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;OnRowEditing&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;OnGridViewRowEditing&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;OnSelectedIndexChanging&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;OnGridViewSelectedIndexChanging&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;CssClass&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;gridview&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;AlternatingRowStyle-CssClass&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;even&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;AutoGenerateColumns&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;False&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;PagerStyle&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;CssClass&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Footer&amp;quot;/&amp;gt;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;Columns&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;BoundField&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;DataField&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;ID&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;HeaderText&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;#&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;SortExpression&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;ID&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;BoundField&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;DataField&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;FoodCode&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;HeaderText&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;FoodCode&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;SortExpression&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;FoodCode&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;BoundField&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;DataField&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Description&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;HeaderText&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Description&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;SortExpression&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Description&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;BoundField&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;DataField&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;KeyWords&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;HeaderText&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;KeyWords&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;SortExpression&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;KeyWords&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;BoundField&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;DataField&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;FoodCatID&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;HeaderText&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Cat&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;SortExpression&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;FoodCatID&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;BoundField&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;DataField&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Short_desc&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;HeaderText&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Short_desc&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;SortExpression&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;Short_desc&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;Columns&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;PagerTemplate&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;uc1&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;GridViewPager&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;PagerTemplate&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;EmptyDataTemplate&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;There are currently no items in this table.&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;EmptyDataTemplate&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt; 
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;AlternatingRowStyle&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;CssClass&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;even&amp;quot;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;AlternatingRowStyle&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;DynamicGridView&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;LinqDataSource&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;GridDataSource&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;WhereParameters&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;DynamicControlParameter&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="3"&gt;ControlID&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;=&amp;quot;FilterRepeater&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;WhereParameters&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;LinqDataSource&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Large page size (viewstate)</title><link>http://forums.asp.net/thread/2215011.aspx</link><pubDate>Wed, 05 Mar 2008 23:11:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2215011</guid><dc:creator>jsharratt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2215011.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2215011</wfw:commentRss><description>&lt;p&gt;Can we have a little more information such as what kind of grid you are using and you are binding your data to it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Jon Sharratt&lt;/p&gt;</description></item><item><title>Large page size (viewstate)</title><link>http://forums.asp.net/thread/2214801.aspx</link><pubDate>Wed, 05 Mar 2008 20:55:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2214801</guid><dc:creator>nati28</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2214801.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1145&amp;PostID=2214801</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Itried it and it works grate &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;.&lt;/p&gt;
&lt;p&gt;I have onle one small problems:&lt;/p&gt;
&lt;p&gt;One of my tables contains 1500 rows and 50 columns, in aresults the grid has large viewstate (more than 1M...).&lt;/p&gt;
&lt;p&gt;When disabaling the viewstate it stop to function and raise javascript errors on paging, update ext.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does someone have any idea how to solve it ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>