List Info

Thread: Repeater Not Populating Items on PostBack




Repeater Not Populating Items on PostBack
user name
2006-11-30 07:09:50
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
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of David B. Bitton
Sent: Thursday, November 30, 2006 1:53 AM
To: DOTNET-WEBDISCUSS.DEVELOP.COM
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

Repeater Not Populating Items on PostBack
user name
2006-12-04 03:07:40
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
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of Shawn Wildermuth
Sent: Thursday, November 30, 2006 2:10 AM
To: DOTNET-WEBDISCUSS.DEVELOP.COM
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
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of David B. Bitton
Sent: Thursday, November 30, 2006 1:53 AM
To: DOTNET-WEBDISCUSS.DEVELOP.COM
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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )