活动结束后令人讨厌的网站刷新 [英] Annoying Website Refresh After Event

查看:68
本文介绍了活动结束后令人讨厌的网站刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编码一个网站,到目前为止一切进展顺利,但我的页面确实存在问题.我的墙纸非常大,当我单击任何Web表单或对象后,就会加载某种形式的脚本或动作,整个页面都会刷新.我觉得有点烦.我只是担心,如果我上传该网站,同样的事情将会发生.目前,我正在使用Visual Studio Web Developer Express2010.我的问题是:
1.上传网站时会遇到这样的问题吗?
2.我该如何解决?
3.AJAX脚本修复某些问题的可靠性如何?

谢谢.

Hi i am coding a website and so far everything''s going well but i do have problems with my page. I have a very large image as it''s wallpaper and after i click on any web form or object thhat loads some form of script or action my whole page refreshes. I find it a bit annoying. I''m just worried that if i upload the site the same things will happen. Currently i am using Visual Studio Web Developer Express 2010. My questions are:
1.Will i face such a problem when i upload the site?
2.How can i fix this?
3.How reliable would an AJAX script be to fix certain issues?

Thanks.

推荐答案

AJAX是最好的解决方案.只需正确使用更新面板即可.如有任何疑问,请通知我.
AJAX is the best solution for this. Just make use of update panels properly . In case of any queries let me know.


在您的CSS中,您可以声明:
in your CSS you can state:
body
{
    background-image: url('yourimagefolderandfilenamehere');
    background-repeat: repeat-x; //in case of large screens
}



在项目的母版页中使用css



use the css in the MasterPage of your project


这篇关于活动结束后令人讨厌的网站刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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