var linkPopup2 = (HtmlInputButton)e.Row.FindControl("lnkPopup2"); linkPopup2.Attributes.Add("onmouseover", "ShowPage('" + sName + "','" + sPhotoPath + "')"); linkPopup2.Attributes.Add("onmouseout", "ClosePage()");
function ShowPage(name, url) { window.showModalDialog(url + '?name=' + name, window, 'dialogHeight:500px;dialogWidth:650px;center:yes;help:no;resizable:no;status:no'); } function ClosePage() { window.close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)