I have a web desktop that has a menubar with a button that opens a window(Window1) that has an iFrame panel that has an aspx page loaded.
The form in the window works perfectly and retrieves sql data.
Once the data is retrieved, I attempt to open a second window(Window2) which also contains an iFrame panel with an aspx form.
Once the first window does its thing and gets the required data, I call a subroutine to open the second window on the desktop using this code:
<Wisej.Core.WebMethod>
Public Shared Sub openWindow(WindowName As String)
Select Case WindowName
Case “Window1”
Dim newWindow1 As New Window1()
newWindow1.Show()
Case “Window2”
Dim newWindow2 As New Window2()
newWindow2.Show()
newWindow2.BringToFront()
End Select
End Sub
I added a second button to the menubar to launch the second window manually and it does work.
But I can’t figure out how to get the first window to open the second wind.
I have included some of the files in question, I can’t send everything because of its size.
Please help!