Sometimes I need to refresh another framework to immediately display the added content. What should we do ??
At the beginning, I thought I should open the page in another framework again. Me too:
Page. clientscript. registerclientscriptblock (page. GetType (), "reloadleft", "<SCRIPT type =" text/JavaScript ">
<! --
Window. Open ('admin _ left. aspx ', 'left'); // -->
</SCRIPT> ");
I tested this method several times and found that if admin_left.aspx is used in the left framework CodeAnd then it does not change. If not, it can be opened in left.
I don't think the code is wrong, but the idea is wrong. So I don't have to re-open the page in the left framework, but refresh it once. So I wrote:
Page. clientscript. registerclientscriptblock (page. GetType (), "reloadleft", "<SCRIPT> window. Parent. Left. Location. Reload () </SCRIPT> ");
The result is successful!