AJAX触发器使下拉列表显示两次 [英] AJAX trigger makes drop down list display twice

查看:108
本文介绍了AJAX触发器使下拉列表显示两次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我使用带有触发器和计时器的更新面板来旋转横幅中的图像.

现在在另一个更新面板中,我有三个下拉列表(国家,州,城市).

但是在第一次之后,它会同时显示所有三个下拉菜单两次.

如何解决此问题?

Hello,

I have use a update panel with trigger and timer to rotate images in banner.

Now in another update panel I have three dropdownlist (Country , State , City).

But in after a first times it displays all three dropdown twice.

How to solve this issue?

推荐答案

通过修复代码.不使用更新面板并编写您自己的AJAX代码是一个好的开始,但是当然不向我们显示代码也无济于事.使用Chrome在客户端上调试代码,您应该能够看到其触发两次的原因.
By fixing your code. Not using update panels and writing your own AJAX code is a good start, but certainly not showing us the code, is not going to help. Use Chrome to debug your code on the client side and you should be able to see why it''s triggering twice.


这篇关于AJAX触发器使下拉列表显示两次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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