Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML/JScript in WebForms?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00761405
Message ID:
00761985
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform