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:
00761985
Views:
31
This message has been marked as the solution to the initial question of the thread.
For sample code on how to do this look at message #710745

>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?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform