This is a migrated thread and some comments may be shown as answers.

Q2 Beta script error

1 Answer 17 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Veteran
Steve asked on 04 Jul 2011, 09:58 PM
I have a simple page with a toolbar on the masterpage and a treeview in the content page

I'm getting this error in firebug when paging, and doing random things like sorting

<%@ Page Title="" Language="C#" MasterPageFile="~/App_Master/Medportal.master" AutoEventWireup="true" CodeBehind="TreeList.aspx.cs" Inherits="Medportal.Skins.Medportal.Controls.TreeList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" runat="server">
    <telerik:RadTreeList runat="server" DataKeyNames="locationID"
        DataSourceID="locationsDS" ParentDataKeyNames="parentID"
        AllowMultiColumnSorting="True" AllowPaging="True" AllowSorting="True"
        PageSize="15" ShowFooter="True" >
        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
    </telerik:RadTreeList>
 
    <asp:SqlDataSource ID="locationsDS" runat="server"
        ConnectionString="<%$ ConnectionStrings:authdbConnectionString %>"
        SelectCommand="SELECT [locationID], [locationName], [parentID], [shortcode], [isTest], [addressID] FROM [common_location] ORDER BY [locationName]" />
</asp:Content>

Any idea?

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 05 Jul 2011, 12:47 PM
Hello Steve,

I tried to replicate the issue which you described, but to no avail.
Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

Greetings,
Mira
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TreeList
Asked by
Steve
Top achievements
Rank 2
Veteran
Answers by
Mira
Telerik team
Share this question
or