H
Helixpoint
I have a frameset. left and main. Inside the main frame I have a IFRAME. I
need to refresh the main frame when I post a form inside the IFRAME. I am
trying the code below with no luck??
Private Sub addMachine_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles addMachine.Click
Dim sScript As New System.Text.StringBuilder
sScript.Append("<SCRIPT language=""javascript"">" & vbCrLf)
sScript.Append("parent.window.opener.location =
parent.window.opener.location;" & vbCrLf)
sScript.Append("</SCRIPT>" & vbCrLf)
RegisterClientScriptBlock("ForceDefaultToScript", sScript.ToString)
End Sub
--
______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
(e-mail address removed)
Interested in Affordable Email Marketing?
Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
If you are interested in becoming a Reseller of HelixPoint products, contact
(e-mail address removed)
______________________
need to refresh the main frame when I post a form inside the IFRAME. I am
trying the code below with no luck??
Private Sub addMachine_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles addMachine.Click
Dim sScript As New System.Text.StringBuilder
sScript.Append("<SCRIPT language=""javascript"">" & vbCrLf)
sScript.Append("parent.window.opener.location =
parent.window.opener.location;" & vbCrLf)
sScript.Append("</SCRIPT>" & vbCrLf)
RegisterClientScriptBlock("ForceDefaultToScript", sScript.ToString)
End Sub
--
______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
(e-mail address removed)
Interested in Affordable Email Marketing?
Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
If you are interested in becoming a Reseller of HelixPoint products, contact
(e-mail address removed)
______________________