iframe, iframe button
There is a treeview plus an iframe in default.aspx<asp:TreeView ID="TreeView1" runat="server" > <Nodes> <asp:TreeNode Text="物资管理" Value="物资管理" SelectAction="Expand"> </Nodes> </asp:TreeView><iframe id="iframe1" width="100%" height="100%" runat="server"></iframe>
In fact, it is submission of the sub-page, refreshing the parent page is
Write a js function on the parent page, for example, the function is called reload (), write a js for page refresh, window.location.href=xxxxxx or the like;
After the sub-page is submitted successfully, just call parent.reload().
Missed. . .
After the sub-page is submitted successfully, call window.parent.reload();
No, the method is wrong