Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am having issues to reload master page on popup window submit button click. i am tried but didn't success.
Below is my code in that, btnLoadMaster is child page button having code to refer master page to reload master page but it's not working.

What I have tried:

C#
string code = "window.opener.document.getElementById('btnLoadMaster').click();";

       if (!ClientScript.IsClientScriptBlockRegistered("someKey"))
       {
           ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "someKey", code, true);
       }
Posted
Comments
[no name] 15-Mar-16 1:35am    
What is the code inside btnLoadMaster button click event handler?

Secondly what is not working?
Patel Shailendra 15-Mar-16 11:02am    
btnLoadMaster button click event handler having method of master page to update status of master page as per user process.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900