After I click the submit button on my child window, it
successfully navigate the parent window to the indicated URL and
close the child. But I dont understand why the child window reopen a
new child window. What is happening and how to stop child window from
reopening a new window ?
childWindow.asp x:
<script language="javas cript">
<!--
function Done() {
var yourParentWin = window.dialogAr guments;
yourParentWin.l ocation.href("D E_ShiftLog.aspx ");
self.close();
}
//-->
</script>
childWindow.asp x.cs:
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
if ( !IsPostBack )
{
this.btnSubmit. Attributes.Add( "OnClick", "javascript :
Done();");
}
else
{
//...
}
}
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com