<script language="javascript" type="text/javascript">
var xmlHttpReq;
function CreateXmlHttpRequest()
{
if(window.ActiveXObject)
{
xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP");
}
else if(window.xmlhttpRequest)
{
xmlHttpReq= new XMLHttpRequest();
}
xmlHttpReq.onreadystatechange = doHttpReadyStateChange;
xmlHttpReq.open("GET", "http://localhost/Maestro2006/QAC/CpkReport/CpkReport.aspx", true);
xmlHttpReq.send();
}
function doHttpReadyStateChange()
{
if (xmlHttpReq.readyState == 4)
{
if(xmlHttpReq.status==200)
{ // alert("dfd");
window.open('ReportResult.aspx');
}
}
}
function OpenNewWin()
{
__doPostBack('<%=btnGetData.ClientID.Replace("_","$")%>','');
CreateXmlHttpRequest();
//document.getElementById(strBtnID).click();
//document.getElementById("ff").click();
//if (document.forms['aspnetForm'].submit() != false)
//{
// window.open('ReportResult.aspx');
//}
// QAC_CpkReport_CpkReport.GetData(GetColName_CallBack);
}
</script>