Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Completion of code in a Web form
Message
From
23/04/2006 01:54:44
 
 
To
17/04/2006 09:32:38
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01113996
Message ID:
01115770
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform