G
Guest
Hi,
I'm new with ASP .NET, so i'm asking lots of questions latly...
I've a web Page, with a button which i've created dynamicly and attached an
Click event to it.
as i understood here, i need to recreate the button again in the postback
event.
the problem is that i need this button, in a specific location (after i've
created few more labels and button).
so what's haapens is that in the postback i'm creating the button for the
event, and then i'm creating all my dynamic labels and i need to create this
button again (or move it to different location), if i do so, I'm getting an
error saying that control with the same ID is already exists, so before i'm
recrating it, i tried to find it in the Conrols list and couldn't. (and
wanted to remove it).
what's the right way to do it?
Thanks a lot,
Gidi.
I'm new with ASP .NET, so i'm asking lots of questions latly...
I've a web Page, with a button which i've created dynamicly and attached an
Click event to it.
as i understood here, i need to recreate the button again in the postback
event.
the problem is that i need this button, in a specific location (after i've
created few more labels and button).
so what's haapens is that in the postback i'm creating the button for the
event, and then i'm creating all my dynamic labels and i need to create this
button again (or move it to different location), if i do so, I'm getting an
error saying that control with the same ID is already exists, so before i'm
recrating it, i tried to find it in the Conrols list and couldn't. (and
wanted to remove it).
what's the right way to do it?
Thanks a lot,
Gidi.