manage AnimationExtender by code

Last post 11-13-2009 4:37 AM by Zhi-Qiang Ni - MSFT. 1 replies.

Sort Posts:

  • manage AnimationExtender by code

    11-10-2009, 5:28 AM
    • Member
      11 point Member
    • amodius
    • Member since 07-09-2008, 9:10 AM
    • Posts 58

    hi there

    i have an AnimationExtender control of ajax
    i need to accept a parameter for manage the functioniality
    but on this code :
     <ScriptAction Script="Cover($get('flyout'), $get('info'), true);" />

    senno tutto uqesto diventa limitativo!
    e non posso riutilizzare i controlli :(, anzi cosi facendo in ogni pagina diventerebbe un casino!!!

    if i set runat="server", it return an error, do not reconize a parameter runat :(
    i have also tried to add an asp.net tag: <%%> and write inside my parameter...but NOTHING!!!

    how can i do it?

    any ideas?

     

    www.immobilzero.com (free estare web site)
  • Re: manage AnimationExtender by code

    11-13-2009, 4:37 AM
    Answer

    Hi amodius,

    The ScriptAction of the Animation should use the client script function. The parameter is the client side element or value. You can use the server side value in the function instead of send it as parameter, please refer to my sample in this code:
    http://forums.asp.net/p/1446453/3294486.aspx#3294486
    http://forums.asp.net/p/1446190/3296738.aspx#3296738
    http://forums.asp.net/p/1370894/2875893.aspx#2875893
    http://forums.asp.net/p/1362679/2828579.aspx#2828579
    http://forums.asp.net/p/1318359/2623862.aspx#2623862

    Best regards,

    Zhi-Qiang Ni

    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
Page 1 of 1 (2 items)