Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Splitter > splitter,not able to change page
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered splitter,not able to change page

Feed from this thread
  • goldy gupta avatar

    Posted on Jun 23, 2011 (permalink)

    hello to all

    i m trying telerik example from link

    http://demos.telerik.com/aspnet-ajax/splitter/examples/default/defaultcs.aspx

    this example is splitter example i m not able to change page on click of numbers.

    in error console i m getting error is

    Error: $telerik.$ is not a function
    Source File: http://localhost:1567/WebSite2/Default.aspx

    this error is in function

    function RadSplitter1_OnClientLoad(splitter, args) {
                    var indexes = $telerik.$(".indexes");

                    indexes.each(function(i) {
                        $telerik.$(this).click(function() {
                            var contentPane = splitter.getPaneById("RadPane2");
                            var pageNo = $telerik.$(this).text();

                            var scrollValue = 750 * (pageNo - 1); //750 is the height of a 'page'
                            contentPane.setScrollPos(0, scrollValue);
                        })
                    })
                }

    how to over come from these problem.
    Attached files

  • Dobromir Dobromir admin's avatar

    Posted on Jun 28, 2011 (permalink)

    Hi Goldy,

    Could you please manually reference the following scripts with the ScriptManager and see if the problem still occurs?
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>

    If this does not solve the issue, could you please provide a sample page reproducing the problem so we can investigate it further?

    Regards,
    Dobromir
    the Telerik team

    Consider using RadControls for ASP.NET AJAX (built on top of the ASP.NET AJAX framework) as a replacement for the Telerik ASP.NET Classic controls, See the product support lifecycle here.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Splitter > splitter,not able to change page