Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 902495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:43:34+00:00 2026-05-15T15:43:34+00:00

I’m currently working with the AJAX:UpdatePanelAnimationExtender and I’ve implemented it in code behind which

  • 0

I’m currently working with the AJAX:UpdatePanelAnimationExtender and I’ve implemented it in code behind which is currently working perfectly but I’ve ran into a problem with using the UpdatePanelAnimationExtender and an ASP:Repeater. I’ve been messing around with different ways of implementing it but nothing has worked correctly…


I’ve tried to have it written in codebehind – inside itemBound (generates the code perfectly, is attached to the UPAE but of course is dropped on partial postback).
I’ve also attempted using it in the aspx which also posed a problem.

The repeater itself is creating a table of items (a cart) and I am attempting to highlight items that have changed when a postback happens (highlight qty if the qty changes, etc).

I’ve read that jquery has a much cleaner way of doing this and am attempting to go that direction.


edit:
I’m currently looking at

    function pageLoad()
    {
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        changedHighlight();
    }
    function EndRequestHandler(sender, args){
        if (args.get_error() == undefined){ changedHighlight(); }
    }
    function changedHighlight() {
        $(document).ready(function() {
            $('span,input,option,select').live('change', function() { $(this).effect("highlight", {color: "#44EE22"}, 1500); });
        });
    }

I’d have to compare a stored value for it to the new posted value, which I’m working on right now. Also ‘change’ doesn’t appear to work on asp:labels?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:43:35+00:00Added an answer on May 15, 2026 at 3:43 pm

    Ended up using a global var (eh..) due to the issue of postback with the UpdatePanel and DOM recreation every time (meaning not able to use $.data() or this.data()).

    Will only highlight non-submit inputs and DOM elements that have an ID. (otherwise static asp:labels will continue to flash)

    var oldVar = [];
    function pageLoad()
    {
        Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler)
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
    }
    function BeginRequestHandler(sender, args) {
        $(document).ready(function() {
            oldVar = [];
            $('input,select,span').each(function() {
            if (this.type != "submit" && this.id != '') oldVar[this.id] = getValue(this);
            });
        });
    }
    function EndRequestHandler(sender, args){
        $(document).ready(function() {
            $('input,select,span').each(function() {
                if (this.type != "submit" && this.id != '')
                {
                    if (oldVar[this.id] != getValue(this))
                    {
                        $(this).effect('highlight', {color: '#44EE22'}, 3000);
                        oldVar[this.id] = getValue(this);
                    }
                }
            });
        });
    }
    function getValue(control){
        if ('value' in control) return control.value;
        else if('textContent' in control) return control.textContent;
        else if('innerText' in control) return control.innerText;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.