Ajax计时器Contol-阅读 [英] Ajax timer Contol - Read it

查看:108
本文介绍了Ajax计时器Contol-阅读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个母版页,在母版页中我使用了ajax计时器控件和脚本管理器.

在我的.aspx页面中,我使用了ajax更新面板,在内部更新面板中,我使用了三个Dropdownlist控件分别用于县,州,城市.

主要问题是每当我单击dropdownlist控件,但在每隔1秒的主页面ajax计时器控件事件后面将触发并且页面dropdownlist关闭时,我无法选择dropdownlist contol的值,

所以给我更好的选择,我现在该怎么办?我想同时使用ajax计时器和使用ajax的country,state和city的内部页面下拉列表.

感谢您的重播

-Hiren Bhalsod

I have one master page , inside master page i used ajax timer control and used script manager .

In My .aspx page I used ajax update panel and inside update panel I used three Dropdownlist control for county , state , city.

Main problem is whenever i click on dropdownlist control but in behind every 1 second master page ajax timer control event will fire and page dropdownlist close i can''t select the value of dropdownlist contol ,

So Give me the better option what can i do now? i want to used both ajax timer and inside page dropdownlist for country , state , city using ajax.

Thanx for ur replay

- Hiren Bhalsod

推荐答案

如果您需要更好地控制该过程,则可能需要离开ASP.NET AJAX并编写自己的AJAX代码,以便这两个控件将以您希望的方式一起工作.尽管AJAX计时器对我来说似乎很奇怪(我看不到怎么回事,但我假设您是说js计时器在触发时进行AJAX调用)会导致整个页面刷新.在任何情况下,每秒触发一次计时器都会受到阻碍,但这是另外一回事了.

我发现您倾向于一遍又一遍地问同样的问题,这让我想知道您将对自己得到的任何答案有多少了解,但是如果不查看源代码,就不会有任何答案,因此我们可以看到您的理解.做错了.
You probably need to move away from ASP.NET AJAX and write your own AJAX code if you need better control over the proccess so that these two controls will work together in the manner you hope. Although it seems odd to me that an AJAX timer ( I don''t see how there can be such a thing, I assume you mean a js timer that makes an AJAX call when it fires ), can cause the whole page to refresh. Having a timer fire every second is retarded in any case, but that''s another story.

I see you have a tendency to ask the same question over and over, which leaves me wondering how much you''ll understand of any answer you get, but no answer is going to come without seeing source code so we can see what you''ve done wrong.


这篇关于Ajax计时器Contol-阅读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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