jQuery fadeIn effect after ajax update

2 posts, 0 answers
  1. Dave
    Dave avatar
    42 posts
    Member since:
    Jan 2008

    Posted 12 Oct 2010 Link to this post

    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).
  2. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 13 Oct 2010 Link to this post

    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
Back to Top