本文介绍了如何重新加载页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这应该很容易, 如何重新加载页面,以便让服务器认为它是页面的第一个 时间已经加载了吗? 谢谢
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 SteveOrr < ri ********** @ hotmail>在消息中写道 news:11 ********************* @ z14g2000cwz.googlegro ups ... Servers don''t think. What are you trying to accomplish? -- I hope this helps, Steve C. Orr, MCSD, MVP SteveOrr <ri**********@hotmail> wrote in message news:11*********************@z14g2000cwz.googlegro ups... 这应该很容易, 如何重新加载页面,以便服务器认为这是页面加载的第一个时间? 谢谢 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 b $ b CTF Technologies do Brasil Ltda。 Analista Programador Fone:11 3837-4203 电子邮件: dg *** @ ctf.br " Steve C. Orr [MVP,MCSD ]" <圣*** @ Orr> 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.br "Steve C. Orr [MVP, MCSD]" <St***@Orr> escreveu na mensagem news:OW**************@TK2MSFTNGP15.phx.gbl... 服务器不要想想。你想要完成什么? - 我希望这会有所帮助, Steve C. Orr,MCSD,MVP SteveOrr < ri ****** ****@hotmail>在消息中写道新闻:11 ********************* @ z14g2000cwz.googlegro ups ... Servers don''t think. What are you trying to accomplish? -- I hope this helps, Steve C. Orr, MCSD, MVP SteveOrr <ri**********@hotmail> wrote in message news:11*********************@z14g2000cwz.googlegro ups... 这个应该很简单, 如何重新加载页面,使服务器认为这是页面加载的第一个时间? 谢谢 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?
更多推荐
如何重新加载页面
发布评论