Reputation: 3746
I have an asp.net app that launches a modal window upon button_click event. That modal window launches another modal window upon another button_click event.
However, the final modal window's "Page_Load" event is not firing.
The second modal winodw is called via a javascript call from vb.net code behind Page.ClientScript.RegisterStartupScript(Me.GetType(), "Script", "ShowModalWin('brPreview','brPreview')", True)
Any ideas?
Upvotes: 3
Views: 488
Reputation: 1302
I doubt if you can have two modal windows overlay on each other. As a last resort, you can try window.open() to create a popup window. HTH
Upvotes: 2
Reputation: 455
You will have to provide more information.
But my first thought is validation. Are you sure the second button click is not causing the page validators to fire?
Upvotes: 0