1

how i raise the javascript function (that is presented in master page) from iframe in iframe i have displaying a aspx page i want to call from code behind of iframe page

ScriptManager.RegisterClientScriptBlock(Me.Page, GetType(String), "Alert", "Show_NotifyDiv();", True)

1 Answer 1

2

Following is an example using javascript.

master page/page of the iframe:

function fnMaster(para1){
   alert(para1);
)

page within iframe:

function callMasterFunction(){
   parent.fnMaster("Hello master");
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.