I have a .NET Portal Component that has several Web Form controls on it. One example is a link button. If I place this Portal Component in a regular portal page, the id of the link button becomes:
"_pcd_portal_content_sapdemo_sapspf_role_integrationpage_itemdetails_0_btnShowDetails"
If the same Portal Component is placed in the Dynamic Navigation section of the portal page, the id of the link button becomes:
"_pcd_portal_content_sapdemo_sapspf_role_integrationpage_"relatedItems_DynamicNavigation_itemdetails_0"_btnShowDetails"
Notice the extra embedded quote marks around "relatedItems_DynamicNavigation_itemdetails_0". Why is this happening and is there a way to work around this problem? I need to use this id in a javascript function.