Ciao a tutti,
ho due repeater
<asp:repeater id=repCategorie runat="server" DataSource="<%# GetSottoCategorie() %>">
<ItemTemplate>
<TR>
<TD>
...
</TR>
<asp:Repeater id="repArticoli" runat="server" OnItemDataBound="Repeater_OnItemDataBound" DataSource='<%# GetProdotti(Convert.ToString(DataBinder.Eval(Conta iner.DataItem, "Cod"))) %>'>
<ItemTemplate>
<TR>
...
il problema è che posso accedere al primo "repCategorie" repeater ma non al secondo "repArticoli"
foreach (RepeaterItem i in repArticoli.Items)
{
come posso acccedere agli elementi del secondo datagrid??
In VS con repArticoli ottengo errore, mentre con repCategorie funziona correttamente ma ovviamente non posso accedere agli elementi di repArticoli
Grazie

Rispondi quotando