Javascript
==============
function PassUrl(UrlName) {
window.open(UrlName, 'Urlname', 'height=300px,width=300px,toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no,modal=yes,resizable=no,copyhistory=no,maximize=0;minimize=1;');
}
Server Side.
=============
Grid RowDataBound
if (e.Row.RowType == DataControlRowType.DataRow) {
Label lbllinkname = e.Row.FindControl("lbllinkUrlName");
string Urlname = lbllinkname.Text;
Image Imge11 = e.Row.FindControl("Image1");
Image11.Attributes.Add("onclick", "PassUrl('" + Urlname + "');");
}
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com
Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator