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?
You’re actually on the exact right track.
You should find that you are able to call the described method by using something like this…