Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
bubberz
Constraint Violating Yak Guru
289 Posts |
Posted - 2006-11-27 : 22:09:12
|
I only want to refresh the parent page if the user clicks a certain button on my pop-up window.For that button, I have the following code on the button click event, but it's not working:Dim scriptString As String = "<script language=JavaScript> " scriptString &= "window.opener.document.forms(0).submit(); </script>" If Not Page.IsClientScriptBlockRegistered(scriptString) Then Page.RegisterClientScriptBlock("script", scriptString) End IfAny suggestions are appreciated! Should I try Parent.Refresh() in the button click event?Thanks! |
|
bubberz
Constraint Violating Yak Guru
289 Posts |
Posted - 2006-11-27 : 22:26:09
|
forms[0].submit use [] insted of ()That did it! |
 |
|
|
|
|