RegisterClientScriptBlock: What am I doing wrong
- From: "aaa" <someone@xxxxxxxxxxxxx>
- Date: Fri, 20 May 2005 00:19:33 -0400
I am trying to activate the following code on the click event of a popup
window.
If I comment out the lines where I assign the values to the hidden fields
the Parent page submits otherwise it does nothing. I don't get it.
I have used this code before. Any help is appreciated.
string s="<script>";
s += "window.opener.Form1.hiddenID.value = " + 6 + ";";
s += "window.opener.Form1.hiddenFlag.value = \"" + 1 + "\";";
s += "window.opener.Form1.submit();";
s += "window.close();";
s += "</script>";
this.RegisterClientScriptBlock("addPopup",s);
.
- Follow-Ups:
- Re: RegisterClientScriptBlock: What am I doing wrong
- From: billmiami2
- Re: RegisterClientScriptBlock: What am I doing wrong
- Prev by Date: Re: how to fix this error of access denied ?
- Next by Date: Errors while stress testing a load balanced application
- Previous by thread: Reduce color
- Next by thread: Re: RegisterClientScriptBlock: What am I doing wrong
- Index(es):
Relevant Pages
|