Hi NG,
I have another problem with User controls. Thanks to your help I was
finaly able to create a Control, which is doing what I want it to do.
But now I want to add more than one User-Control to my WebForm.
Unfortunatly, my UserControl is using the Session-Variable to store some
values I need for each roundtrip. The problem is, that *each*
UserControl uses the same name for the Session-Variable.
I tried to add the instance-name of the Control to the Session-Variable
name to distinguish between the different UserControls, but I have no
clue, how to get this name.
The onClick-function is sending an object (sender) which I thought I
could use for. I tried to Cast it to System.Web.UI.UserControl, but this
has no name-property. Any ideas about this?
Oh well, and a second thing: I want to add the ucs dynamically. But how
can I then call the functions of my uc, for I have no variable at design
time.
Thanks in advance,
Frank