开发者

Telerik MVC Grid JavaScript is loaded when not specified

I have the following in web layout (master page):

@(Html.Telerik().ScriptRegistrar()
   .DefaultGroup(group => group
      .DefaultPath("~/Assets/telerikaspnetmvc/2011.2.712/Scripts/")
      .Add("telerik.common.min.js")
      .Add("telerik.treeview.min.js")
      .Compress(true))
   .jQuery(false)
)

On one of my views I created a grid. But I did not specify in the ScriptRegistrar that it must use telerik.grid.min.js. 开发者_JS百科 After the page has loaded in IE I viewed the source and it showed:

Why would this be? Does it load the necessary scripts as needed?

Also, I'm confused at to what JavaScripts are needed by the grids. There are a couple, namely: telerik.grid.editing.min.js, telerik.grid.filtering.min.js, telerik.grid.grouping.min.js, etc, etc. When are these to be used?


Answered in the documentation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜