I am using a ModalPopupWindow with the ModalPopupExtender. The linkButton that triggers the ModalPopupExtender is in a ListView/ItemTemplate. How can I assign the linkButton to the TargetControlID of the ModalPopupExtender
I tried this but it is not working
ModalPopupExtenderReportThisPost.TargetControlID = (LinkButton)ListViewThread.Controls[0].FindControl("LinkButtonReportThisPost");
ModalPopupExtenderShareThisPost.TargetControlID = (LinkButton)ListViewThread.Controls[0].FindControl("LinkButtonShareThisPost"); ...
Go to the complete details ...