J
jayuya
I have a simple page that I will like to display while i
am processing the user request in the server. The page
only has a label saying "Please Wait..."
My objective is to show this window while the code
executes in the server but I can not close it after i am
done... below is a sample code....
thanks in advance...
jayuya
js = "<script language=javascript>window.showModalDialog
('StatusDisplay.aspx','','dialogWidth=475px;dialogHeight=1
25px;status:no;help:no');</script>"
'displays window
RegisterStartupScript("StatusStartPage", js)
'run code
While minCounter <= maxCounter
////code to update records .....
/////code
minCounter = minCounter + 1 'looping to next power
End While
js = "<script language=javascript>window.close
();</script>"
'closes window
RegisterStartupScript("StatusEndPage", js)
am processing the user request in the server. The page
only has a label saying "Please Wait..."
My objective is to show this window while the code
executes in the server but I can not close it after i am
done... below is a sample code....
thanks in advance...
jayuya
js = "<script language=javascript>window.showModalDialog
('StatusDisplay.aspx','','dialogWidth=475px;dialogHeight=1
25px;status:no;help:no');</script>"
'displays window
RegisterStartupScript("StatusStartPage", js)
'run code
While minCounter <= maxCounter
////code to update records .....
/////code
minCounter = minCounter + 1 'looping to next power
End While
js = "<script language=javascript>window.close
();</script>"
'closes window
RegisterStartupScript("StatusEndPage", js)