L
Leon
Hi everybody.
I am adding image buttons to my web form programmatically and adding
onclientclick for each button to call java function to save some info. When
form is reposted I get an error message:
An error has occurred because a control with id
'ctl00$ContentPlaceHolder1$ctl01' could not be located or a different control
is assigned to the same ID after postback. If the ID is not assigned,
explicitly set the ID property of controls that raise postback events to
avoid this error.
Probably I get this message, because on repost I do not recreate those image
buttons and I do not need to recreate them, because I need to show just a big
picture of the product.
How can I avoid this problem?
I am adding image buttons to my web form programmatically and adding
onclientclick for each button to call java function to save some info. When
form is reposted I get an error message:
An error has occurred because a control with id
'ctl00$ContentPlaceHolder1$ctl01' could not be located or a different control
is assigned to the same ID after postback. If the ID is not assigned,
explicitly set the ID property of controls that raise postback events to
avoid this error.
Probably I get this message, because on repost I do not recreate those image
buttons and I do not need to recreate them, because I need to show just a big
picture of the product.
How can I avoid this problem?