Create a clone of panel with fieldset on hyperlink click

There is no readymade clone or copy method so if you have a panel which contains fieldsets with controls and want to add the same panel to the page on hyperlink button click, you have to do it yourself through coding.

You can create new Panel object and initialize its properties from your existing Panel and then add it to the parent control's ControlCollection. You can take Panel or PlaceHolder as your main control.

Panel p = new Panel();
p.Width = otherExistingPanel.Width;
p.Height =otherExistingPanel.Height;
PlaceHolder1.Controls.Add(p);
 
Cheers!!!