Y
yop
All
I have a main window (ViewAreas). Have an Add button
which when clicked opens a child window where the user
can enter a new area, it is added to the database. My
problem is that I want when the child window is closed
that the Viewareas window is reloaded to show an updated
list on areas including the new area I am after adding.
'Save the AreaRecord
Dim blSuccess As Boolean = Area.AddArea(UCase
(txtAreaName.Text), Session("UserID"))
If blSuccess = True Then
Response.Write("<script language='javascript'> {
window.open.locaction = 'ViewAreas.aspx'}</script>")
Response.Write("<script language='javascript'> {
window.close() }</script>")
End If
I thought that the open.location code would work but no
avail
I have a main window (ViewAreas). Have an Add button
which when clicked opens a child window where the user
can enter a new area, it is added to the database. My
problem is that I want when the child window is closed
that the Viewareas window is reloaded to show an updated
list on areas including the new area I am after adding.
'Save the AreaRecord
Dim blSuccess As Boolean = Area.AddArea(UCase
(txtAreaName.Text), Session("UserID"))
If blSuccess = True Then
Response.Write("<script language='javascript'> {
window.open.locaction = 'ViewAreas.aspx'}</script>")
Response.Write("<script language='javascript'> {
window.close() }</script>")
End If
I thought that the open.location code would work but no
avail