Error in AnimationExtender after Beta2

Last post 12-04-2006 8:54 PM by Ted Glaza [MSFT]. 3 replies.

Sort Posts:

  • Error in AnimationExtender after Beta2

    11-30-2006, 6:55 PM
    • Member
      101 point Member
    • mohpor
    • Member since 05-31-2006, 8:59 AM
    • Tehran - Iran
    • Posts 26

    Hi guys and gals,

    After instaling Beta2, AnimationExtender stops working, with some parser error like :

    Animation on TargetControlID="some server control" uses property AjaxControlToolkit.AnimationExtender.onclick that does not exist or cannot be set

    and I don't know how to get rid of this problem,

    here is my refernce list:

    AjaxControlToolkit  (BIN) 1.0.61106.0

    AjaxExtensionToolBox (BIN) 1.061025.0

    Microsoft.Web.Preview (BIN)  1.0.61025.61025

    Microsoft.Web.Extensions (BIN) 1.0.61025.61025

    Microsoft.Web.Extensions.Design (BIN) 1.0.61025.61025

    System.Design (GAC) 2.0.0.0

    What do you think?

     

    Mohammad Porooshani
    Filed under:
  • Re: Error in AnimationExtender after Beta2

    11-30-2006, 8:33 PM
    • Contributor
      4,198 point Contributor
    • Ted Glaza [MSFT]
    • Member since 04-12-2006, 7:51 PM
    • Microsoft
    • Posts 847
    • AspNetTeam
    Hi mohpor,

    Due to a change we made awhile ago the "event names" in your animations need to match the case of the properties declared on the extender.  In this case, changing onclick to OnClick should fix the problem.

    Thanks,
    Ted
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Error in AnimationExtender after Beta2

    12-01-2006, 1:07 AM
    • Member
      101 point Member
    • mohpor
    • Member since 05-31-2006, 8:59 AM
    • Tehran - Iran
    • Posts 26

    Thanks Dear Ted,

    you're right, problem solved.

    I remembered a time this events were case insensitive and I wondered why, this could result in violations, now I feel it's better,

    and to be more hones, I tried just camel styles like "onClick" events.

    Thank you very much.

    Mohammad Porooshani
  • Re: Error in AnimationExtender after Beta2

    12-04-2006, 8:54 PM
    • Contributor
      4,198 point Contributor
    • Ted Glaza [MSFT]
    • Member since 04-12-2006, 7:51 PM
    • Microsoft
    • Posts 847
    • AspNetTeam
    Hi mohpor,

    Yes, you are right that at one point you could have used case insensitive names.  Unfortunately a change from using standard reflection (with BindingFlags set to ignore case) to TypeDescriptor caused this problem.

    Thanks,
    Ted
    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (4 items)