hi dear
Use function like below and call it on click of your href or link button.
function openNewWindow(Path, isAllow) {
try {
if (isAllow.trim() != "" && parseInt(isAllow) != 0) {
var width = 400;
var height = 430;
var left = parseInt((screen.availWidth / 2) - (width / 2));
var top = parseInt((screen.availHeight / 2) - (height / 2));
var windowFeatures = "width=" + width + ",height=" + height + ",status,resizable,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;
window.open(Path, "_Blank", windowFeatures)
}
}
catch (e) {
return false;
}
return false;
}
now call in gridviewcolumn
<dx:gridviewdatabinaryimagecolumn caption="More Info" visible="true" fieldname="Pending OD" xmlns:dx="#unknown">
<dataitemtemplate>
<a href="javascript:void(0);" onclick="return openNewWindow('../Transactions/popup.aspx?&id=','<%#Eval(" id=") %>',,'<%#Eval(" isallow=")%>');">
<asp:label id="Label2" runat="server" text="More Info" tooltip="Click Here To More Info" xmlns:asp="#unknown"></asp:label>
</a>
</dataitemtemplate>
</dx:gridviewdatabinaryimagecolumn>
Thanks