473,385 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

An AJAX question

JC
I have a form with a few UpdatePanels and each has an associated
UpdatePanelAnimationExtender which causes fade-in and fade-out. In addition
2 of the animations disable the 2 buttons which trigger them in the Updating
event and then enable them again in the Updated event. I was surprised to
see that all the animations occur when any AJAX postback occurs. All the
UpdatePanelAnimationExtenders have their UpdatePanel ID as their
TargetControlID.

Is this as designed or is something wrong with the page?
Jul 19 '07 #1
2 1421
I also have this problem. Whenever a control in an UpdatePanel triggers a
post-back, then all of the UpdatePanels are triggering a post-back. Can this
behaviour be changed? It seems to defeat the purpose of AJAX in the first
place if I end up refreshing the whole page.
"JC" wrote:
I have a form with a few UpdatePanels and each has an associated
UpdatePanelAnimationExtender which causes fade-in and fade-out. In addition
2 of the animations disable the 2 buttons which trigger them in the Updating
event and then enable them again in the Updated event. I was surprised to
see that all the animations occur when any AJAX postback occurs. All the
UpdatePanelAnimationExtenders have their UpdatePanel ID as their
TargetControlID.

Is this as designed or is something wrong with the page?
Jul 19 '07 #2
More.

On the Ajax website I've found this

Review

This tutorial introduced the concept of using multiple UpdatePanel controls
on a page. When UpdatePanel controls are not nested you can update each panel
independently by setting the UpdateMode property to Conditional. (The default
value of the UpdateMode property is Always. This causes the panel to refresh
in response to any asynchronous postback.)

I've not found this to be true. I have two UpdatePanels (with different
IDs), each set to Conditional. Still, when a child triggers an update in
UpdatePanel1, UpdatePanel2 also posts back.

Can anyone else confirm this behaviour?

Thanks
"ri***@newsgroups.nospam" wrote:
I also have this problem. Whenever a control in an UpdatePanel triggers a
post-back, then all of the UpdatePanels are triggering a post-back. Can this
behaviour be changed? It seems to defeat the purpose of AJAX in the first
place if I end up refreshing the whole page.
"JC" wrote:
I have a form with a few UpdatePanels and each has an associated
UpdatePanelAnimationExtender which causes fade-in and fade-out. In addition
2 of the animations disable the 2 buttons which trigger them in the Updating
event and then enable them again in the Updated event. I was surprised to
see that all the animations occur when any AJAX postback occurs. All the
UpdatePanelAnimationExtenders have their UpdatePanel ID as their
TargetControlID.

Is this as designed or is something wrong with the page?

Jul 19 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: G Matthew J | last post by:
interesting "signal vs. noise" blog entry: http://37signals.com/svn/archives2/whats_wrong_with_ajax.php
21
by: javainfo | last post by:
How can i refresh IFRAME and load data through AJAX?
9
by: darrel | last post by:
Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to be several to choose from. I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it appears that ASP.net 2.0...
31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked...
1
by: codefragment | last post by:
Hi I have asked this on the official asp.net forums but no luck so thought I'd try here Assume you have a page with a filter control and a grid view and many other controls on it. When the...
8
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I'm about to finally make the jump and start a new site using AJAX. THe question i have for all of you AJAX developers out there is which one? 1. The Standard AJAX frame work 2. The Tool kit....
2
by: =?Utf-8?B?VG9u?= | last post by:
Hello, I want to understand teh benefits of ajax technology. Does anyone has a good website where AJAX EXTENSIONS is worked out so I really understand it. There a 2 main questions: 1) How about...
2
by: Cirene | last post by:
3 quick questions... 1. Are the controls in the AJAX Futures download "beta" or the release and stable version? 2. Also, where is the best way to learn how to implement these? (Other than by...
6
by: Jonathan Wood | last post by:
Greetings, I'd like to implement some AJAX features on an existing ASP.NET site. I have one example of doing this but, otherwise, don't know much about it. I have one question, though, about...
22
by: sheldonlg | last post by:
I am looking for a clean solution to a problem that I solved in, what I call, a "dirty" way. Here is what I want to do. I have a dropdown list. Clicking on an item in the dropdown list invokes...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.