showModelessDialog:
<Script Language="javaScript">
function opmw(url)
{
showModelessDialog(url,"","dialogHeight:400px;dialogWidth:500px;resizable:no;help:yes;status:no;scroll:no")
}
</Script>
<ItemTemplate>
<a style="FONT-SIZE: 12px; COLOR: dimgray" href='javascript:opmw("view.aspx?custid=<%# DataBinder.Eval(Container.DataItem,"EmpID")%>")'>
<%# DataBinder.Eval(Container.DataItem,"Name") %>
</a>
</ItemTemplate>
-----------------------------------------------------------------------------
window.open:
<SCRIPT language="JavaScript">
function f_open1(EmpID)
{
window.open('view.aspx?custid='+EmpID,'','scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,top=0, left=0,width=500,height=400');
return false;
window.opener=null;
window.close();
}
</SCRIPT>
<ItemTemplate>
<a href='' onClick='return f_open1("<%# DataBinder.Eval(Container.DataItem,"EmpID")%>")'style="FONT-SIZE: 12px; COLOR: dimgray"><%# DataBinder.Eval(Container.DataItem,"Name") %></a>
</ItemTemplate>
-----------------------------------------------------------------------------
href:
<ItemTemplate>
<a href='<%# "view.aspx?custid=" + DataBinder.Eval(Container.DataItem,"EmpID")%>' target="_blank" style="FONT-SIZE: 12px; COLOR: dimgray"><%# DataBinder.Eval(Container.DataItem ,"Name") %>
</a>
</ItemTemplate>