I have an image button control within a repeater control.
<asp:ImageButto n id='<%# Container.DataI tem("ProductID" )%>' runat="server"
ImageUrl="image s/noimage.gif" OnClick="Remove Item" Autopostback="t rue"/>
but i'm coming up with the error
"<%# Container.DataI tem("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:ImageButto n id='<%# Container.DataI tem("ProductID" )%>' runat="server"
ImageUrl="image s/noimage.gif" OnClick="Remove Item" Autopostback="t rue"/>
but i'm coming up with the error
"<%# Container.DataI tem("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.
Comment