Reacting to events of a composite controls - 09-08-2004 , 11:47 PM
I have read some tutorials on composite controls. They all all tend to
be on static controls such as tables etc. They don't seem to cover on
dealing with user events on the controls.
I have created some LinkButtons on a composite control, but I need to
be able to react to which of these linkbuttons the user presses.
So I need set parameters of onCommand CommandArgs for the linkbuttons.
BUt I cannot add these when creating the controls.
I tried this
lbtn.CommandName = "openSub"
lbtn.CommandArgument = "subArgs"
lbtn.Visible = True
Only the visible works these rest dont show up on the HTML page.
Is there a way to do this?
Re: Reacting to events of a composite controls - 09-13-2004 , 03:54 AM
Look here for a tutorial that covers user events in composite controls:
|Thread Tools||Search this Thread|