Copy Event To Cloned Contorl
<p>i have this method in asp.net for clone my control : </p>

<pre><code>public static Control Clone( Control ctrlSource )
{
    Type t = ctrlSource.GetType();
    Control ctrlDest = ( Control )t.InvokeMember( "" , BindingFlags.CreateInstance , null , null , null );
    foreach( PropertyInfo prop in t.GetProperties() )
    {
       if( prop.CanWrite )
       {
          if( prop.Name == "ID" )
          {
              ctrlDest.ID = ctrlSource.ID + "cloned" + Security.Cryptography.Cryptography.generateRandomPrivateKey( 5 );
          }
          else
          {
              prop.SetValue( ctrlDest , prop.GetValue( ctrlSource , null ) , null );
          }
       }
    }      
    return ctrlDest;
</code></pre>

<p>}</p>

<p>how can i set the source control event(like Click event) in destination control?</p>
