ASP.Net
writing process, we often encounter jump page,
air force 1, we often use Response.Redirect, if a customer used to jump when prompted, this will not serve me, such as:
Response.Write (
Response.Redirect (
the content of our tips at this time did not come out to jump out, and the Response.Redirect (
Then we use the following code to test:
Response.Write (
Response.Write (
this that met our requirements,
nike air force one 25th, prompted the jump page.
window.location.href
most important thing is to implement a framework statement can execute server-side code page in another frame after a page refresh (Response.Redirect can not be achieved, at least I did not find):
such as: index.htm page,
At last;, there are two frameworks,
写在“三五”雷锋日, namely frameLeft and frameRight, frameRight page in the server-side code execution frameLeft refresh the page.
The most common is a registered previously, the automatic refresh login box to allow login box has been replaced by landing page, as long as the registration code to add a success, that the other frames can refresh the page. Code is as follows:
Response.Write (
Response.Write (
automatically refresh the page to achieve Methods:
1)
function abc ()
{
window.location.href =
setTimeout (
}
refresh the page:
Response.Write (
refresh the parent page:
Response.Write (
to a specific page:
Response.Write (
refresh the page summary of implementations (HTML, ASP,
air force one mid shoes, JS)
'by aloxy
refresh timer:
1, setTimeout (
note: url is the URL address to refresh the page
2000 is the waiting time = 2 seconds,
nike air force one low,
2,
Description: General form with a url parameter or return value to determine whether an action occurred, and then use response.redirect refresh.
4, Refresh frame page
pop-up window and then refresh
problem
Response.Write (script >
Response.Write ();
page code in the sub-head form to add xxxxx ,
泣血之作:邵阳美食地图(新增加蛇类 腊菜类).., by adding the following line can be,
nike force one!
refresh timer: <META HTTP-EQUIV=
10 on behalf of the refresh interval, in seconds
2.jsp
<% response.setHeader (
refresh every second
3. use of javascript
:
<script language=
setTimeout (
once every second
page automatically jump:
1, set in the html:
xxxxx ,
nike air force, by adding the following line can be!
timed jump and refresh: <meta http-equiv=
20 means every 20 seconds after the jump to the URL http:// own page.
click the button to refresh parent window after the form is submitted
B
A window opens the window
B which then submitted the data to the C window
A window to refresh the last
B
and close the window
some javascript function
/ / automatically close the first window
/ / Second function to refresh the parent page
/ / The third open window