asp.net C#에서 버튼을 클릭하면 팝업 창으로 두 개의 pdf 파일을 열어야하지만, 지금은 첫 번째 팝업 만 여는 중입니까? 아무 때 나 두 창을 동시에 열 수 있습니까?버튼 클릭시 두 개의 팝업 창을 열려면?
string PDFPath = folderpath + filename;
string PopupName = "popUp";
string PopupSettings = "height=900,width=1000,top=100,left=100,scrollbars=no,resizable=no,toolbar=no,menubar=no,location=no,status=yes";
string NewPath = "var popup=window.open('../PopupForReport.aspx?pdfPath="
+ PDFPath.Replace("\\", "/") + "','" + PopupName + "','" + PopupSettings + "')";
ScriptManager.RegisterStartupScript(updatePanel1, updatePanel1.GetType(), "popupOpener", NewPath, true);
string PDFPath1 = folderpath + filename1;
string PopupName = "popUp";
string PopupSettings = "height=900,width=1000,top=100,left=100,scrollbars=no,resizable=no,toolbar=no,menubar=no,location=no,status=yes";
string NewPath1 = "var popup=window.open('../PopupForReport.aspx?pdfPath="
+ PDFPath1.Replace("\\", "/") + "','" + PopupName + "','" + PopupSettings + "')";
ScriptManager.RegisterStartupScript(updatePanel1, updatePanel1.GetType(), "popupOpener", NewPath1, true);
변화를 한 PopupName 할 것, 창 이름은 – Ricky