Hi all,
i want the ability to have multiple different popup user controls on a page. so am adding behavior id on server side as
popupcontrolid.behaviorid = "popu1" + ClientID;
now i want to hide it when user click at any position of the page. it worked on when i used only one popupcontrol with static behavior id.
document.onclick = check;
function check(e) {
var popup = $find('popu1');
popup.hidePopup();
}
but when i add popupcontrolid.behaviorid = "popu1" + ClientID;
the function is not working out. please help me out