if you add controls at runtime you would have to add a button.click
procedure to your app. (I suppoose you've done so)
But you have to be sure that these buttons are their after the postback.
These buttons are no static controls. In your form_load procedure you have
to add these buttons again and again. If the number of buttons depends on
the click event in an earlier stage, you have to save this state (or the
result of that event) so the same buttons are added again and the
button.clck event can run.
succes
Ton
"Leon" <> schreef in bericht
news

8086CC7-039B-4D54-B834-...
> Hi everybody.
>
> I am adding image buttons to web page programmatically. In each image
> button
> I show the product info. When user clicks any button I want to pass the
> product info to use it when the form is reposted. Can anyone tell me how
> to
> do it. Whatever I try is not working for me.
>
> Thank you in advance