RadFilter+RadTreeList+OADS

3 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 06 Jul 2011 Link to this post

    How do I get RadFilter to work with RadTreeList and an OpenAccess DataSource?

    ...this seems to do nothing

    <telerik:RadFilter runat="server" FilterContainerID="locationTreeList"
        ID="ctl00" CssClass="RadFilter RadFilter_Default " Skin="Transparent">
        <FieldEditors>
            <telerik:RadFilterTextFieldEditor TextBoxWidth="120" FieldName="LocationName" />
        </FieldEditors>
    </telerik:RadFilter>
    <telerik:RadTreeList ID="locationTreeList" runat="server" AllowPaging="false" AutoGenerateColumns="false"
        DataSourceID="locationDS" AllowSorting="True" DataKeyNames="LocationID"
        ParentDataKeyNames="ParentID">
        <Columns>
            <telerik:TreeListBoundColumn DataField="LocationID" HeaderText="Location ID" />
            <telerik:TreeListBoundColumn DataField="LocationName" HeaderText="Name" />
            <telerik:TreeListBoundColumn DataField="ShortCode" HeaderText="Short Code" />
            <telerik:TreeListCheckBoxColumn DataField="IsTest" HeaderText="Test Location" />
            <telerik:TreeListBoundColumn DataField="AddressID" HeaderText="Address ID" />
        </Columns>
    </telerik:RadTreeList>
    <telerik:OpenAccessDataSource ID="locationDS" runat="server"
        EnableDelete="False" ObjectContextProvider="AuthDB.Model.Context, AuthDB"
        OrderBy="LocationName, ParentLocation.LocationName"
        TypeName="AuthDB.Model.CommonLocation" />
  2. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 06 Jul 2011 Link to this post

    **EDIT**

    Figured it out

    DataSourceControlID="locationDS"
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Priyanka
    Priyanka avatar
    1 posts
    Member since:
    Jul 2012

    Posted 06 Aug 2012 Link to this post

    Hi Steve,
    Are u able to perform search/filter on records.
    I am using Sql Server and want to perform search on Child items only.
    Did u use different query to search through RadFilter or same query whch u are using for displaying records.
    Please help, I really need to have search in my RadTeeList.

Back to Top