Author: jmroyb@hotmail.com | Posted on: 6/8/2009 8:06:57 AM | Views : 422

Hi all,
I'm writting an small control which is inheriting from a placeholder. Bellow there is the main code. My problem is how to wrap ImageClickEventHandler and send it to a subscriber class...
 
class UIControlBoton : PlaceHolder
{

public string ImageButtonID
{ get { return String.Format("[{0}]_ImageButton", this.ClientID); ; } }

public string HiddenBoxID
{ get { return String.Format("[{0}]_HidenBox", this.ClientID); ; } }

ImageButton _ChildIb = new ImageButton();
LiteralControl _ChildLc = new LiteralControl();
protected override void CreateChildControls()
        {
            Draw_MyButton();
            this.Controls.Add(_ChildIb);

         &nbs ...

Go to the complete details ...