Click here to Skip to main content
15,949,686 members

Comments by Member 1314182 (Top 2 by date)

Member 1314182 22-Dec-22 16:27pm View    
Thanks! I guess ddlMINERAL_ADD.ClientID have to be supplied by server. At least I am not going to do that. However, I surprised that this code works as is:
<table>
<asp:listbox ID="ddlMINERAL_ADD"></asp:listbox>
<asp:UpdatePanel><ContentTemplate>
<asp:Repeater>
<HeaderTemplate></HeaderTemplate>
<ItemTemplate></ItemTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:Repeater>
</ContentTemplate></asp:UpdatePanel>
</table>

but this doesn't due to CS1030:

<table>
<asp:UpdatePanel><ContentTemplate>
<asp:Repeater>
<HeaderTemplate></HeaderTemplate>
<ItemTemplate></ItemTemplate>
<FooterTemplate>
<asp:listbox ID="ddlMINERAL_ADD"></asp:listbox>
</FooterTemplate>
</asp:Repeater>
</ContentTemplate></asp:UpdatePanel>
</table>

In reality I would like to put <asp:listbox id="ddlMINERAL_ADD"> also inside <itemtemplate> in unpredictable quantity.
Member 1314182 22-Dec-22 16:25pm View    
Deleted
Thanks! I guess ddlMINERAL_ADD.ClientID have to be supplied by server. At least I am not going to do that. However, I surprised that this code works as is:

<asp:listbox id="ddlMINERAL_ADD">
<asp:updatepanel><contenttemplate>
<asp:repeater>
<headertemplate>
<itemtemplate>
<footertemplate>





but this doesn't due to CS1030:

<asp:updatepanel><contenttemplate>
<asp:repeater>
<headertemplate>
<itemtemplate>
<footertemplate>
<asp:listbox id="ddlMINERAL_ADD">





In reality I would like to put <asp:listbox id="ddlMINERAL_ADD"> also inside <itemtemplate> in unpredictable quantity.