hi am developed webapplication using VS2005 with C#. i used to open a new window on clicking a linkbutton in datagrid cell using
Response.Write("<script language=\"javascript\" type=\"text/javascript\">window.open(\"EditEquipments.aspx\",null,\"height=600,width=900,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,left=10,top=10\")</script>");
it is opening correctly,but in the enternet explorer the alignment and font size all are getting bigger,and looks bad.
whereas in mozila firebox it is working fine with same alignment.
how do i overcome this issue!.,since many of the people will see it in internet explorer only.
please could any one tell me about this issue.
|
| Author: shanmukha kumari 21 Jul 2008 | Member Level: Gold | Rating: Points: 4 |
just write one javascript function as
function openPopup() { window.open(\"EditEquipments.aspx\",null,\"height=600,width=900,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,left=10,top=10\"); return false; }
call this function in the link buttons onclick event. Hope this will helpful to you
|