如何重新加载页面 [英] How to reload a page

查看:59
本文介绍了如何重新加载页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这应该很容易,


如何重新加载页面,以便让服务器认为它是页面的第一个

时间已经加载了吗?


谢谢

This should be easy,

How do I reload a page so that it makes the server think it''s the first
time the page has been loaded?

Thanks

推荐答案

服务器没有想到。

你想要完成什么?


-

我希望这有帮助,

史蒂夫C. Orr,MCSD,MVP
http://SteveOrr.net

< ri ********** @ hotmail.com>在消息中写道

news:11 ********************* @ z14g2000cwz.googlegro ups.com ...
Servers don''t think.
What are you trying to accomplish?

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
<ri**********@hotmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
这应该很容易,

如何重新加载页面,以便服务器认为这是页面加载的第一个时间?

谢谢
This should be easy,

How do I reload a page so that it makes the server think it''s the first
time the page has been loaded?

Thanks



怎么样?你想重新加载并尝试从服务器隐藏它吗?

你的意思是,该页面只能重新加载一次?下次不算数,不是吗?

你可以创建一个int type = 0的变量,当重新加载i ++


page_load event


int i = 0;

if(i> 1)// 0是第一次,1是第二次{

什么都不做

}否则{

做你的代码

i ++;

}

我不知道它是否会起作用,但试试......我也不知道这是否是最好的方式!


见啊!

-

Atenciosamente,


Daniel Groh < br $> b $ b CTF Technologies do Brasil Ltda。

Analista Programador

Fone:11 3837-4203

电子邮件:< a href =mailto:dg *** @ ctf.com.br> dg *** @ ctf.com.br

" Steve C. Orr [MVP,MCSD ]" <圣*** @ Orr.net> escreveu na mensagem

新闻:OW ************** @ TK2MSFTNGP15.phx.gbl ...
how ? do you want do reload and try to hidde this from the server ?
you mean, the page can reload just one time ? next time doesn''t count, not ?
you can create a variable of int type = 0 and when reload i++

page_load event

int i = 0;
if (i > 1) //0 is the first time and 1 ist the second time{
do nothing
}else{
do your code
i++;
}

I don''t know if it gonna work, but try...and i also don''t know if that''s the
best way!

see ya!
--

Atenciosamente,

Daniel Groh
CTF Technologies do Brasil Ltda.
Analista Programador
Fone: 11 3837-4203
E-mail: dg***@ctf.com.br
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> escreveu na mensagem
news:OW**************@TK2MSFTNGP15.phx.gbl...
服务器不要想想。
你想要完成什么?

-
我希望这会有所帮助,
Steve C. Orr,MCSD,MVP
http://SteveOrr.net

< ri ****** ****@hotmail.com>在消息中写道
新闻:11 ********************* @ z14g2000cwz.googlegro ups.com ...
Servers don''t think.
What are you trying to accomplish?

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
<ri**********@hotmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
这个应该很简单,

如何重新加载页面,使服务器认为这是页面加载的第一个时间?

谢谢
This should be easy,

How do I reload a page so that it makes the server think it''s the first
time the page has been loaded?

Thanks




我在页面上有一堆网格,其CurrentPageIndex设置为

在各个岗位上。如果用户重新加载页面以便返回较小的数据集,则这些页面大小仍然相同并导致

错误。我只需要清除CurrentPageIndex,然后重新加载

页面。


有意义吗?

I have a bunch of Grids on a page that have their CurrentPageIndex set
at various positions. If a user reloads the page so that smaller
datasets come back those page sizes are still the same and are causing
errors. I simply need to clear the CurrentPageIndex and then reload
the page.

Make sense?


这篇关于如何重新加载页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆