WebPartManager assign random number to the ID property of the Dynamic Webpart.
How to identify what dynamic WebParts are on the page?