473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Multiple repeaters and viewstate

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
1 1664
(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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: DonRex | last post by:
Hello all! I couldn't find a web application-newsgroup for ASP.NET, so I'm sorry if this is the wrong forum! Synopsis: In my webform I have 3 nested repeaters: rpWeeks ----- rpTime
0
by: Machi | last post by:
let say in parent-child scenerio (Product: Product Category - one product category may has many products), i am using nested repeaters where parent repeater will be used to display info and child...
4
by: Davids | last post by:
in my small hangman web project I have a Hangman class which has some methods and properties (int GuessAttempts, string GuessedLetters etc..) which change as the game goes on... Best of all would...
9
by: Jamie | last post by:
I am receiving an Invalid ViewState error after posting back to the same page twice. Consistently the error occurs after the second postback and not after the first. I have looked into creating...
1
by: SteveComplex | last post by:
I'm currently working on a project developing a web application that makes heavy use of 3rd-party controls, popup windows and frames ( not my design I hasten to add ). Some of the pages make use...
2
by: Vijay | last post by:
Hi, I am working on an Asp.net 2.0 web application that uses master pages, according to our application architecture we should not use Viewstate. Is there a work around to raise the events fired...
0
by: Sean | last post by:
I have a page that has a formview and two repeaters that use separate objectdatasources. Each objectdatasource returns records that contain a field named DateAndTime. The problem I'm having is...
1
PrinsonG
by: PrinsonG | last post by:
My Query is How do I export to excel/csv using Nested Repeaters. My project is web-based and i am using C#.Net. In this i use three repeaters. one displays ID, Name of the user. second...
1
by: andrew.douglas11 | last post by:
Hello all, Is it possible to share controls inside a child repeater? Here's the situation: I have a web page that needs to display data grouped by A, and alternatively by B (only one grouping...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.