Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Completion of code in a Web form
Message
De
23/04/2006 01:54:44
 
 
À
17/04/2006 09:32:38
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01113996
Message ID:
01115770
Vues:
12
>Page.RegisterClientScriptBlock will insert the referenced text/script after the HTML header - this is good for javascript function declarations.
>
>Page.RegisterStartupSript will insert the script in the form's onLoad attribute (event) that fires after the form's closing tag is received.
>
>Use these two together so that the bulk of the script is inside of a function and call the function with RegisterStartupScript.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform