J
Jesper Rou
Hi all,
I have a peculiar problem in that I want to have an Ajax.Net update panel,
inside each item in a repeater.
Like so:
<repeater>
<itemtemplate>
<updatepanel>
<contenttemplate>
</contenttemplate>
</updatepanel>
</itemtemplate>
</repeater>
This works well enough, but a problem emerges when using DataBinding
expressions, like <%# DataBinder.Eval( Container.DataItem, "whatever" ) %>
The page fails with the somewhat logical error, that the updatepanel dosnt
contain a definition for DataItem.
I assume this is because the Container now points at the updatepanel.
Anyone have a workaround/fix for this?
- Jesper Rou / Creuna Denmark
I have a peculiar problem in that I want to have an Ajax.Net update panel,
inside each item in a repeater.
Like so:
<repeater>
<itemtemplate>
<updatepanel>
<contenttemplate>
</contenttemplate>
</updatepanel>
</itemtemplate>
</repeater>
This works well enough, but a problem emerges when using DataBinding
expressions, like <%# DataBinder.Eval( Container.DataItem, "whatever" ) %>
The page fails with the somewhat logical error, that the updatepanel dosnt
contain a definition for DataItem.
I assume this is because the Container now points at the updatepanel.
Anyone have a workaround/fix for this?
- Jesper Rou / Creuna Denmark