I checked Calling a parent window function from an iframe but it didn't work for me. I want to call parent page javascript
function from Code behind of a page inside an iframe
.
Page Inside Iframe Code
Protected Sub btnContinue_Click(sender As Object, e As System.EventArgs) Handles btnContinue.Click
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "StartTimer", "parent.initializeClock();", True)
End Sub
It is not working. How should I call this from code behind. It must be called from code behind.