Postback
-
Hi All...Can any1 assist plz...i hav a main page "frmMain.aspx" and this page calls popup via window.open called "frmPopup.aspx". i want the popup page to force a postback on the main page..the code i am using is:
string scriptString = "<script language=JavaScript> window.opener.document.forms(0).submit(); </script>"; if (!Page.ClientScript.IsClientScriptBlockRegistered(scriptString)) { Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "submitScript", scriptString); }
can any1 tell me wat im doing wrong?living life on the flip side
-
Hi All...Can any1 assist plz...i hav a main page "frmMain.aspx" and this page calls popup via window.open called "frmPopup.aspx". i want the popup page to force a postback on the main page..the code i am using is:
string scriptString = "<script language=JavaScript> window.opener.document.forms(0).submit(); </script>"; if (!Page.ClientScript.IsClientScriptBlockRegistered(scriptString)) { Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "submitScript", scriptString); }
can any1 tell me wat im doing wrong?living life on the flip side
Agweet wrote:
can any1 tell me wat im doing wrong?
Not asking in the ASP.NET forum ?
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Agweet wrote:
can any1 tell me wat im doing wrong?
Not asking in the ASP.NET forum ?
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Agweet wrote:
can any1 tell me wat im doing wrong?
Not asking in the ASP.NET forum ?
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
Ahhh, I hate univoters. 5ed
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
You are supposed to post your question in a correct forum. This is what he meant.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
Hi All...Can any1 assist plz...i hav a main page "frmMain.aspx" and this page calls popup via window.open called "frmPopup.aspx". i want the popup page to force a postback on the main page..the code i am using is:
string scriptString = "<script language=JavaScript> window.opener.document.forms(0).submit(); </script>"; if (!Page.ClientScript.IsClientScriptBlockRegistered(scriptString)) { Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "submitScript", scriptString); }
can any1 tell me wat im doing wrong?living life on the flip side
-
Agweet wrote:
can any1 tell me wat im doing wrong
Yes, some keys on your keyboard appear to be stuck, and others seem to be in the wrong place altogether.
ROTFL !!!
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.