Re: Code behind

  •  12-14-2009, 10:21 PM

    Re: Code behind

    Joe,
     
    You can add the uploader into your control at each page life cycle ,
     
     
    Uploader up;
    protected override void OnInit(EventArgs args)
    {
        base.OnInit(args);
        up=new Uploader();
        up.FileUploaded+=new UploaderEventHandler(up_FileUploaded);
        mycontrolholder.Controls.Add(up);
    }
    private void up_FileUploaded(object sender, UploaderEventArgs args)
    {
    }
     
     
    Regards,
    Terry
     
View Complete Thread