Is there a way to call a JavaScript function from an ASP.NET modal window using VB? The JavaScript function should be able to close the same modal window.
The specific function I am looking to call is:
function CloseModalWindow(winName)
I have attempted to use:
Page.ClientScript.RegisterStartupScript
However, it does not seem to work. Is there a way to achieve this from the VB.NET code behind?