M
Marc Bishop
I have an image button control within a repeater control.
<asp:ImageButton id='<%# Container.DataItem("ProductID")%>' runat="server"
ImageUrl="images/noimage.gif" OnClick="RemoveItem" Autopostback="true"/>
but i'm coming up with the error
"<%# Container.DataItem("ProductID")%>' is not a valid identifier"
how else would i access the ID or value to identify this button control from
any of the repeat items in the repeater control.
any help would be great thanks.
m.
<asp:ImageButton id='<%# Container.DataItem("ProductID")%>' runat="server"
ImageUrl="images/noimage.gif" OnClick="RemoveItem" Autopostback="true"/>
but i'm coming up with the error
"<%# Container.DataItem("ProductID")%>' is not a valid identifier"
how else would i access the ID or value to identify this button control from
any of the repeat items in the repeater control.
any help would be great thanks.
m.