Commentaires sur : [Atlas] UpdatePanelAnimation : la galere des animations OnUpdating/ed https://sebastien.warin.fr/2006/10/22/70-atlas-updatepanelanimation-la-galere-des-animations-onupdating-onupdated/ Le blog personnel et technique de Sébastien Warin, Chief Technology Officer (CTO) & Creative Technologist Thu, 14 Jun 2007 10:53:54 +0000 hourly 1 https://wordpress.org/?v=5.9.12 Par : sebeuh https://sebastien.warin.fr/2006/10/22/70-atlas-updatepanelanimation-la-galere-des-animations-onupdating-onupdated/#comment-85 Thu, 26 Oct 2006 21:44:04 +0000 https://sebastien.warin.fr/?p=204#comment-85 Comme je te disais sur mon autre post où tu avais laissé un commentaire : si tu veux simplement lancer une fonction JS lors d’un click sur un bouton, tu dois juste attribuer l’attribut onCLick sur ton bouton. Ex en VB.net (a mettre dans ton Load) :

monButon.Attributes.Add("onClick", "alert(‘Test’);")

Je ne sais pas si je reponds vraiment à ton probleme. Sinon n’hesite pas à le reformuler.

Pour info, avec quel build d’Atlas travailles tu ?

Bien a toi

Sebeuh

]]>
Par : Sebastien https://sebastien.warin.fr/2006/10/22/70-atlas-updatepanelanimation-la-galere-des-animations-onupdating-onupdated/#comment-102 Thu, 26 Oct 2006 17:09:07 +0000 https://sebastien.warin.fr/?p=204#comment-102 J’ai un problème sur le fonctionnement de l’updatePanel de AJAX for ASP.Net et je ne sais plus comment m’en sortir.
Je t’écris donc en espèrant que tu puisse m’aider (mail joint).
Avant j’utilisait un panel Ajax fait par MagicAjax pour gérer mes page et ca fonctionnait très bien.
Depuis que j’utilise le Panel Microsoft, mes page ont un comportement AJAX mais je n’arrive plus à lancer les script type alert(); ou autre.
et pourtant j’utilse (sur un Bouton Click par exemple) la méthode suivante:

me.Page.ClientScript.RegisterStartupScript(me.GetType(),"ALERT", "alert(‘Essai !’);",True);

J’ai même essayé de mettre False à la place de True et d’ecrire moi même les balises de script mais rien ne se passe.

Merci d’avance si tu as un élément de réponse.

Seb
MSN : johnson_fr@hotmail.com

]]>