Lately, I've been finding Extender controls on Asp.net quite annoying. Script controls that inject javascript at the top of the web page have me reconsidering if there is a better way to place them at the bottom, similar to using
ClientScriptManager.RegisterStartupScript
. After reading a post by DanWahlin, it seems like it's possible but with the downside of handling duplicate scripts and ensuring all necessary ones are included in the correct order. So, my question narrows down to this:
"I'm working on developing custom controls and Extender controls, and I prefer for all scripts to be placed at the bottom of the webpage. What alternatives do you recommend and why?"
Note: These scripts as well as CSS are embedded as web resources.