<?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>Data Presentation Controls</title><link>http://forums.asp.net/24.aspx</link><description>ASP.NET data-bound controls such as the DataGrid, DataList, GridView, FormView, DetailsView, and Repeater Controls.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=23&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Reducing Viewstate for a Repeater Control</title><link>http://forums.asp.net/thread/1266522.aspx</link><pubDate>Mon, 24 Apr 2006 14:03:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1266522</guid><dc:creator>SonuKapoor</dc:creator><author>SonuKapoor</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1266522.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=1266522</wfw:commentRss><description>&lt;p&gt;You could try to disable the viewstate only on the rows in the ItemCreated event:&lt;/p&gt;
&lt;p&gt;If e.Item.ItemType = ListItem.Type.Item or e.Item.ItemType = ListItem.Type.AlternatingItem then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;e.Item.EnableViewState = False&lt;br /&gt;End if&lt;/p&gt;</description></item><item><title>Re: Reducing Viewstate for a Repeater Control</title><link>http://forums.asp.net/thread/1266497.aspx</link><pubDate>Mon, 24 Apr 2006 13:45:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1266497</guid><dc:creator>John5</dc:creator><author>John5</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1266497.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=1266497</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes they wanted to see the 2000 records all at once&lt;/p&gt;
&lt;p&gt;I have turned off viewstate for this particular page and implemented a manual postback method&lt;/p&gt;
&lt;p&gt;It works but is a bit more complicated than I wanted it to be&lt;/p&gt;
&lt;p&gt;Thanks for the reply&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Reducing Viewstate for a Repeater Control</title><link>http://forums.asp.net/thread/1264395.aspx</link><pubDate>Fri, 21 Apr 2006 14:26:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1264395</guid><dc:creator>delorenzodesign</dc:creator><author>delorenzodesign</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1264395.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=1264395</wfw:commentRss><description>&lt;font face="Verdana" size="2"&gt;One suggestion would be to not display 2000 records at once and use some type of paging.&lt;br /&gt;&lt;br /&gt;Can any user actually view 2000 records in a single screen?&amp;nbsp; Or would they need to?&lt;br /&gt;&lt;br /&gt;Some links of interest:&lt;br /&gt;&lt;a href="http://www.eggheadcafe.com/articles/20040613.asp"&gt;http://www.eggheadcafe.com/articles/20040613.asp&lt;/a&gt;&lt;br /&gt;&lt;a href="http://west-wind.com/weblog/posts/4560.aspx"&gt;http://west-wind.com/weblog/posts/4560.aspx&lt;/a&gt;&lt;br /&gt;&lt;/font&gt;</description></item><item><title>Reducing Viewstate for a Repeater Control</title><link>http://forums.asp.net/thread/1264207.aspx</link><pubDate>Fri, 21 Apr 2006 11:20:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1264207</guid><dc:creator>John5</dc:creator><author>John5</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1264207.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=1264207</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have a repeater control displaying about 2000 records in a grid style&lt;/p&gt;
&lt;p&gt;The problem is the viewstate that this creates is very large&lt;/p&gt;
&lt;p&gt;But I need the itemcommand event to still work, as each row as a 'View details' link&lt;/p&gt;
&lt;p&gt;Is there a way I can reduce the viewstate for the repeater, whilst still letting the Itemcommand event to work?&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>