Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML/JScript in WebForms?
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00761405
Message ID:
00761928
Views:
33
This message has been marked as a message which has helped to the initial question of the thread.
Hi Sebastian,

Take a look at the Page object's RegisterClientScriptBlock and RegisterStartupScript methods. You could call these methods from your base class page's OnLoad() method to put script code on all of your page subclasses.

HTH,
-B

>Hi, Keith!
>
>Thanx for your fast answer...
>
>...but I forgot one important fact in my question: The script code is created by ASP.NET classes dynamically for each turn around of the aspx page and that's why must merged together at runtime!
>
>Any ideas?
Beth Massi
Program Manager
Visual Studio Community
Microsoft Corporation
http://blogs.msdn.com/bethmassi
http://mdsn.com/vbasic
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform