I want to use:
<%: System.Web.Optimization.Scripts.Render("~/bundles/MyBundle") %>
in .ascx file. There is no problem when i am loading scripts to body. However, i don't know, how to include this script to <head> of my .aspx file. Any ideas? I cannot do this from code behind.