Add scripts to head dynamically (weblogs.asp.net)
submitted by
djsolid(380) 1 year, 6 months ago
Many times when i develop a user control i have the need to add some javascript to the header of the page. But the header doesn't have a method where you can add script and RegisterStartupScript inserts the script at the bottom of the page.
So i thought let's create an extension method...
|
category: ASP.NET
|
Views: 18
tags:
ExtensionMethods ASP.NET another
Everyones tags:
Your Tags: