syswareinc
asked on
Stop execution during Page_Load() event
I have ASP.NET application.
I wan to open the Modal dialoguebox while my page loads and I want the rest of code excutes in page load event..when i close the modal dialogue box. for example as below
sub Page_Load()
some code...
Open dialogue box
Response.write("Hello")
End sub
I want Respons.write shoud execute after i close the dialogue box.
Is it possible...? and yes how?? I know its possible if i write inline code..but i don't want to do that.
Plz help.
I wan to open the Modal dialoguebox while my page loads and I want the rest of code excutes in page load event..when i close the modal dialogue box. for example as below
sub Page_Load()
some code...
Open dialogue box
Response.write("Hello")
End sub
I want Respons.write shoud execute after i close the dialogue box.
Is it possible...? and yes how?? I know its possible if i write inline code..but i don't want to do that.
Plz help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<script>
function myLoad() {
var res = showModalDialog(...);
document.getElementById('s
}
window.onload=myLoad;
</script>
<div id="someDiv"></div>