Duplicate WebControls at runtime
Duplicate WebControls at runtime
A simple solution to duplicating or mirroring a control at runtime. The beauty of this method is that server-side events are still attached to the mirrored controls. The major disadvantage is that the mirrored controls are rendered with the same Id on the client. This can be problematic if you need JavaScript to reference to the controls by Id. It also technically breaks standards by using the same Id twice in the output.