This is a migrated thread and some comments may be shown as answers.
ScriptErrors
0 Answers 26 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ajay
Top achievements
Rank 1
Ajay asked on 20 Jul 2011, 04:13 PM
Hi
I am facing some strange problems
1. When I enable Paging on Scroll, numeric pager ceases to function. Numeric Pager works if paging on scroll is disabled.
2. When I bind an script to databind event,  the grid does not load (Ajax loading). The grid works if this event is not enabled
3. Strangely I have to register common.js and common.min.js both, in order for the Chart to work? (Cross post)
All the  views are partial views (ascx).
I use Q2 2011 Hotfix 720.
Here is my Site.Master
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Title</title>
    <%= Html.Telerik().StyleSheetRegistrar()
                      .DefaultGroup(group => group
                          .Add("telerik.examples.css")
                          .Add("telerik.common.css")
                                  .Add("telerik." + Html.GetCurrentTheme() + ".css")
                          .Add("telerik.rtl.css")
                          .Combined(true)
                          .Compress(true))
    %>
    <asp:ContentPlaceHolder runat="server" ID="HeadContent" />
    <asp:ContentPlaceHolder runat="server" ID="TitleContent" />
    <% Html.RenderPartial("Header"); %>
</head>
<body>
    <div id="page">
        <h1 id="title">
            <%= Html.ActionLink("Metator Dominus Energy Dashboard", "Index", "Home") %></h1>
        <a id="version" href="http://Index.aspx">
            <%-- <%= Html.ProductVersion()%>  "Any special Links here"--%>
        </a>
        <div id="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server" />
            <div class="corner rc-bottomleft">
            </div>
            <div class="corner rc-bottomright">
            </div>
        </div>
        <% Html.RenderPartial("LeftNavigation"); %>
        <% Html.RenderPartial("TopNavigation"); %>
        <% Html.RenderPartial("Footer"); %>
    </div>
    
    <% Html.Telerik().ScriptRegistrar()
                     .DefaultGroup(group => group
                     .Add("telerik.common.js") /* this file is required by all Telerik UI components and must be included first */
                      .Add("telerik.common.min.js")
                     .Add("jquery.validate.min.js")
                      
                      .Add("telerik.calendar.min.js") // (if there are columns bound to DateTime or DateTime? property)
                     .Add("telerik.textbox.min.js")
                     .Add("telerik.datepicker.min.js")
                       .Add("telerik.draganddrop.min.js") /* common drag and drop library (required for grouping) */
                       .Add("telerik.grid.min.js")
                     .Add("telerik.grid.grouping.min.js")
                      .Add("telerik.grid.filtering.min.js")
                       .Add("telerik.grid.grouping.min.js")  /* grid grouping JavaScript file */
                       .Add("telerik.grid.resizing.min.js")
                       .Add("telerik.grid.reordering.min.js")
                       .Add("telerik.grid.editing.min.js")
                       .Add("telerik.window.min.js ")
                     .Add("telerik.window.min.js")
                     .Add("telerik.examples.js")
                     .Add("jquery-1.5.1.min.js")
                     .Add("telerik.grid.min.js")
                     .Add("Visifire2.js")
                     .Add("jqSOAPClient.js")
                       .Add("telerik.chart.min.js")
                       .Add("BBS.js")
                     .Compress(true))
                     .OnDocumentReady(() =>
                     { %>prettyPrint();<% })
                    .Render();
                     %>
    <%--<% Html.RenderPartial("GoogleAnalytics"); %>--%>
</body>
</html>


Am I missing something?
Any suggestions are welcome

Ajay
Tags
Grid
Asked by
Ajay
Top achievements
Rank 1
Share this question
or