Re: Repeater Not Populating Items on PostBack

Mark Kucera <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Is it possible that the repeater control is nested within another
control that has ViewState disabled?  I.e.

<tr runat="server" enableviewstate="false">
<td>
<asp:DropDownList runat="server" enableviewstate="true">
        <asp:ListItem>...</asp:ListItem>
        ... Databound items here...
        ...
</asp:DropDownList>
</td>
</tr>

Mark Kucera
[email protected]
 

-----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(r)  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.