|
In the recent release, there has been few enhancements in the Web Asset Management. One of the new thing that we introduced which was actually requested by the community is Shared Web Asset. In this post, I will show you, how to use it in your ASP.NET MVC Application. In the previous version, you can only define the web assets either in the ScriptRegistrar or StyleSheetRegistrar like the following: <% Html.Telerik() .ScriptRegistrar() .Scripts(scripts => scripts.AddGroup("myScripts", group => group.Add("script1.js") .Add("script2.js") .Add("script3.js") .Combined(true) .Compress(true) ) ) .Render();%> if you want to reuse it in another page, you have to copy the exact same thing. Also the url...
|