link in grid cell, opens a popup and parent page is returned to home page
var link = new Active.Templates.Link;
obj.setColumnTemplate(link, 0);
obj.setAttribute("target", "_new");
obj.setAttribute("href", "#");
obj.setEvent("onclick", function(src){alert("onclick")});
document.write(obj);
i am using this code to ad a link in grid column, but the problem is immideatly after on click it opens the popup and the parent page is redirected to home page, can somewone help me in this regard.
obj.setColumnTemplate(link, 0);
obj.setAttribute("target", "_new");
obj.setAttribute("href", "#");
obj.setEvent("onclick", function(src){alert("onclick")});
document.write(obj);
i am using this code to ad a link in grid column, but the problem is immideatly after on click it opens the popup and the parent page is redirected to home page, can somewone help me in this regard.
June 10,