我们应该尽可能多地使用ajax吗? [英] Should we use ajax as much as we can?

查看:86
本文介绍了我们应该尽可能多地使用ajax吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


请告诉我们,Ajax非常适合在网站上使用.当我单击运行"按钮时,我创建了一个登录页面,然后它重新加载了整个页面,效果并不理想.我在更新"面板中放置了运行"按钮.
那是正确的方法,否则我将使用javascript.

谢谢
Seema

Hi,
Please tell, Ajax are good to use in the websites.I create a login page when i click on go button then it Reload entire page that was not looking good. I put go button in Update panel.
That is Correct way or I shall use javascript for it.

Thanx
Seema

推荐答案

是的.但是在编码和设计企业应用程序时,还有更多的事情.

在此处了解有关Ajax的更多信息:
Ajax-微软官方网站 [
Yes it''s ok. But there is a lot more while coding and desiging an enterprise application.

Learn more about Ajax here:
Ajax - Microsoft official site[^]

You will find lots of stuff including tutorials and sample here.


您可以使用这种方法.现在,页面上已经使用了很多ajax,甚至我还没看到有几页被使用过.单个页面中有100个updatepnel,但请正确使用它,否则可能会导致维护问题..
You can go with this approach.Now a days lots of ajax has been used on the pages,even iahve seen several pages used around 100 updatepnel in a single page,but use it properly,else it may cause maintainence problem..


这篇关于我们应该尽可能多地使用ajax吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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