By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,903 Members | 1,977 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,903 IT Pros & Developers. It's quick & easy.

Multiple repeaters and viewstate

P: n/a
Please can some on offer some practicle advice,

I am designing a page that displays details about a product, the page
will be navigated from a datagrid (this bit no problem),

The details page will show details about the product (I'm going to
databind a usercontrol),

The page also has four repeaters that show further details about the
product, three of the repeaters need to be paged and one does not.

First thought is to let viewstate handle most of this and simply
respond to page commands and rebind the appropriate repeater.

Question is, will there be too much data in the viewstate? will it be
best to rebind everything?

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
(a) it's situational...do it and check how big the viewstate is...maybe it
won't be as big as you think...maybe this is for an intranet and your
tolerance is higher

But viewstate does tend to get large when left unchecked. Repeaters don't
have built-in paging, so I'm not sure i see how you could "let viewstate
handle of this" ?? One way or another, you'll need to response to page
command (goto page 3 for repeater X) and bind the new data, which to me
suggest you'll be able to turn viewstate off.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
<ga**********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Please can some on offer some practicle advice,

I am designing a page that displays details about a product, the page
will be navigated from a datagrid (this bit no problem),

The details page will show details about the product (I'm going to
databind a usercontrol),

The page also has four repeaters that show further details about the
product, three of the repeaters need to be paged and one does not.

First thought is to let viewstate handle most of this and simply
respond to page commands and rebind the appropriate repeater.

Question is, will there be too much data in the viewstate? will it be
best to rebind everything?

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.