I created a hyperlink dynamically as below
Hyperlink objHyperlink = new Hyperlink();
depending on the key value i need to set the existing hyperlinks to objHyperlink
if key == "Markets"
then hyperlink to be set is hyplnkIsActiveMarkets
if key =="Budgets"
then hyperlink to be set is hyplnkIsActiveBudgets
My question is how can get control at runtime where i know name of it is “hyplnkIsActive”+”Markets” (“Markets” is got from key)
Is der anything like FindControlByname("hyplnkIsActive"+"Markets");
Try this