EDN Admin
Well-known member
good Friday to all you magical people with all the answers.
I want to put an asp dropdownlist within an asp repeater and my vb code behind is not recognizing the dd list. If I move it outside the repeater it works fine. Any help is greatly appreciated.
code below: <asp:Repeater runat="server" ID="rptPFEDocumentCategories" OnItemDataBound="DisplayDocuments
<ItemTemplate>
<li style="list-style-type: none <a id="<%#Container.DataItem("Line")%> <%#Container.DataItem("Line")%>
<asp:Repeater runat="server" ID="rptPFEDocuments" OnItemDataBound="DisplayStatesByForm
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<li style="list-style-type: circle
<b>Number:</b> <%#Container.DataItem("FormNumber")%> <a target="_blank /DesktopModules/PolicyFormsDocumentsModule/PFEImagePage.aspx?fn=<%#Server.UrlEncode(Container.DataItem("FormNumber"))%>&pfetype=pd Word Format <a target="_blank /DesktopModules/PolicyFormsDocumentsModule/PFEImagePage.aspx?fn=<%#Server.UrlEncode(Container.DataItem("FormNumber"))%>&pfetype=pp PDF Format
<li style="list-style-type: circle
<b>Title:</b> <%#Container.DataItem("Title")%>
<aspropDownList ID="ddlMechanisms" runat="server" ></aspropDownList>
</ItemTemplate>
<SeparatorTemplate><hr /></SeparatorTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:Repeater>
</ItemTemplate>
<SeparatorTemplate><p /></SeparatorTemplate>
</asp:Repeater>
shash
View the full article
I want to put an asp dropdownlist within an asp repeater and my vb code behind is not recognizing the dd list. If I move it outside the repeater it works fine. Any help is greatly appreciated.
code below: <asp:Repeater runat="server" ID="rptPFEDocumentCategories" OnItemDataBound="DisplayDocuments
<ItemTemplate>
<li style="list-style-type: none <a id="<%#Container.DataItem("Line")%> <%#Container.DataItem("Line")%>
<asp:Repeater runat="server" ID="rptPFEDocuments" OnItemDataBound="DisplayStatesByForm
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<li style="list-style-type: circle
<b>Number:</b> <%#Container.DataItem("FormNumber")%> <a target="_blank /DesktopModules/PolicyFormsDocumentsModule/PFEImagePage.aspx?fn=<%#Server.UrlEncode(Container.DataItem("FormNumber"))%>&pfetype=pd Word Format <a target="_blank /DesktopModules/PolicyFormsDocumentsModule/PFEImagePage.aspx?fn=<%#Server.UrlEncode(Container.DataItem("FormNumber"))%>&pfetype=pp PDF Format
<li style="list-style-type: circle
<b>Title:</b> <%#Container.DataItem("Title")%>
<aspropDownList ID="ddlMechanisms" runat="server" ></aspropDownList>
</ItemTemplate>
<SeparatorTemplate><hr /></SeparatorTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:Repeater>
</ItemTemplate>
<SeparatorTemplate><p /></SeparatorTemplate>
</asp:Repeater>
shash
View the full article