Hi!
I have a WebImageViewer with datasource and in property ImageItemBinding I indicate Key_Field="Id" because when the client select a image i need the value of image, but I get an error:
Unable to cast object of type 'System.Int32' to type 'System.String'.
How can I associate the id of the image in WebImageViewer?
CODE:
<
ig:WebImageViewer ID="IVCulinaria" runat="server"
DataSourceID="SqlDSTest" DataKeyFields="Id" Height="250px" Width="99%"
Hi there
Can you please attach a more complete sample and we would take a look at this issue for you.
Thanks a lot for your patience!