Using jQuery to load Telerik MVC scripts.

Posted by ProfK on Stack Overflow See other posts from Stack Overflow or by ProfK
Published on 2010-12-16T06:59:30Z Indexed on 2011/01/08 12:54 UTC
Read the original article Hit count: 430

I'm busy building my first MVC app that uses the Telerik MVC components. Their docs specify that the ScriptRegistrar helper be called right at the bottom of a view, e.g. "at the end of the master page.". I assume this renders a script block that must only run when the page has loaded. I normally prefer to achieve this using jQuery, and keep all my script related stuff at the top of my master page, preferably in the <head> tag. Is there anything I can do to achieve this with the Telerik components and do away with the lone and forgotten helper call at the bottom of my master page?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc