Re: Repeater Not Populating Items on PostBack

Shawn Wildermuth <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Most likely you are re-populating the data bound items of the repeater
before your events fire.  What are you doing in Page_Load?  (Did you forget
a IsPostback() check?)


Thanks,
 
Shawn Wildermuth
Wildermuth Consulting Services, LLC
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of David B. Bitton
Sent: Thursday, November 30, 2006 1:53 AM
To: [email protected]
Subject: [DOTNET-WEB] Repeater Not Populating Items on PostBack

I have a Repeater control in 2.0 that is not filling it's Items collection
on postback even though ViewState is enable for the page and the Repeater.
Why would this be?


===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.