TrongTuan
July 6th, 2003, 10:11 PM
Hi all,
I have written code by JavaScrip to popup a window (popups/newInfor.htm ) when user enter to the my start page (index.html). It is as bellow:
<script language="javascript">
function OpenPage(){
window.open("Popup/newInfor.htm, "", "toolbar=No,location=No,directories=no,status=no,menubar=No,scrollbars=No,resizable=no,copyhistory=No,width=460,height=220,left=200, top=180")
}
</script>
</head>
<body topmargin="0" marginheight="0" leftmargin="0" marginwidth="0" bgcolor="#4D79B0" onload=OpenPage()>
Now I 'm starting with .NET. I want to translate these code to C# or VB.NET. I think that I have to write some thing in Page_Load event. But I do not know how to do it. Anyone can help me ?
Thank you
I have written code by JavaScrip to popup a window (popups/newInfor.htm ) when user enter to the my start page (index.html). It is as bellow:
<script language="javascript">
function OpenPage(){
window.open("Popup/newInfor.htm, "", "toolbar=No,location=No,directories=no,status=no,menubar=No,scrollbars=No,resizable=no,copyhistory=No,width=460,height=220,left=200, top=180")
}
</script>
</head>
<body topmargin="0" marginheight="0" leftmargin="0" marginwidth="0" bgcolor="#4D79B0" onload=OpenPage()>
Now I 'm starting with .NET. I want to translate these code to C# or VB.NET. I think that I have to write some thing in Page_Load event. But I do not know how to do it. Anyone can help me ?
Thank you