Re: Repeater Not Populating Items on PostBack
"David B. Bitton" <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Organization | Code No Evil, LLC |
| Message-ID | <018401c71751$5c3670d0$14a35270$@com> |
Shawn,
That is exactly what was happening. I needed to handle it in an
event handler. This was being called later by Page_Load. Tx.
-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Shawn Wildermuth
Sent: Thursday, November 30, 2006 2:10 AM
To: [email protected]
Subject: Re: [DOTNET-WEB] Repeater Not Populating Items on PostBack
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
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com