asp.net - How to refresh iframe parent page after a submit in the iframe? -


I have an iframe inside the page, and iframe has a submit button that will do some functions.

What do I want to do: After submitting the iframe, please call the parent page to refresh.

I know how to refresh it:

  parent.location.reload ();  

But I do not know how to do this after finishing.

  ScriptManager.RegisterStartupScript (this, typef (string), "script", "I" & lt; script type = text / javascript & gt; parent.li cation.hr = parent.location.href;  ", incorrect);  

And the reason I did not write parent.location.reload () and do not send the data to server parent.location.href = parent.location.href I have to load a new page fresh.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -