T
TomASPNET
Hi,
I am using Button web server control which responds to a
onclick event .In the onclick event handler i am using the
serverside javascript for opening anew window.Heres the
Snippet of the code.
If someone has Popupblocker on their machine the new
window doesnt showup
-----------------------------------------------------------
---
private void butt_sales_Click(object sender,
System.Web.UI.ImageClickEventArgs e)
{
string strJscript = "<script language='javascript'>";
strJscript += "window.open
('sales.aspx','','menubar=yes,scrollbars=yes,resizable=yes,
width=640,height=500');";
strJscript += "</script" + ">";
Response.Write(strJscript);
}
I am using Button web server control which responds to a
onclick event .In the onclick event handler i am using the
serverside javascript for opening anew window.Heres the
Snippet of the code.
If someone has Popupblocker on their machine the new
window doesnt showup
-----------------------------------------------------------
---
private void butt_sales_Click(object sender,
System.Web.UI.ImageClickEventArgs e)
{
string strJscript = "<script language='javascript'>";
strJscript += "window.open
('sales.aspx','','menubar=yes,scrollbars=yes,resizable=yes,
width=640,height=500');";
strJscript += "</script" + ">";
Response.Write(strJscript);
}