![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 Controls.Add(lbtn) Only the visible works these rest dont show up on the HTML page. Is there a way to do this? Thanks |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |