This is a migrated thread and some comments may be shown as answers.

jQuery fadeIn effect after ajax update

1 Answer 96 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 12 Oct 2010, 09:14 PM
What is the easiest way to implement the jQuery fadeIn function on a particular element after an ajax callback occurs? I am using the RadAjaxManager and would like to give the user a visual cue by fading in new content from ajax updates (instead of just immediately showing it on the page).

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 13 Oct 2010, 12:18 PM
Hello Dave,

The fade animation requires the animated element to be invisible (style="display:none"). So you should render the updated element this way and then use the RadAjaxManager's OnResponseEnd event to locate the updated element and animate it.

http://www.telerik.com/help/aspnet-ajax/ajxonresponseend.html

Kind regards,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Dave
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or