I want to calling a javascript function from a asp.net modal window using vb. The javascript function is to close the same modal window.
The function I want call is: function CloseModalWindow(winName)
I tried
Page.ClientScript.RegisterStartupScript
but that does not work. How can I do that from vb.net code behind?