Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6580603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:02:57+00:00 2026-05-25T16:02:57+00:00

The AppendDataBoundItems property on Teleriks RadTreeView control allows you to bind data along side

  • 0

The AppendDataBoundItems property on Teleriks RadTreeView control allows you to bind data along side your static values.

So your tree might look like

  • Static Item A
  • Static Item B
  • Static Item C
  • Databound Item A
  • Databound Item B
  • Databound Item C

But I’d like to have all my bound values under a specific node, like

  • Static Item A
  • Static Item B
  • Static Item C
    • Databound Item A
    • Databound Item B
    • Databound Item C

I do realize I can manipulate the data to accomplish this effect, but I’m not comfortable moving UI code into my stored proc.

Is there any other way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:02:58+00:00Added an answer on May 25, 2026 at 4:02 pm

    I’m starting to think this isn’t possible, so I just added the items myself.

    For future reference to anybody else looking for how to do this, here is the manual way.

    Default2.aspx

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="TelerikTreetoProc._Default2" %>
    <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="scriptManager1" runat="server" />
            <telerik:RadTreeView ID="treeSideBarCommands" Runat="server">
                <Nodes>
                    <telerik:RadTreeNode runat="server" Text="Static Item A" />
                    <telerik:RadTreeNode runat="server" Text="Static Item B" />
                    <telerik:RadTreeNode runat="server" Text="Static Item C"/>
                </Nodes>
            </telerik:RadTreeView>
        </div>
        </form>
    </body>
    </html>
    

    And my code behind file is

    using System;
    using System.Data;
    using System.Data.SqlClient;
    using System.Web.Configuration;
    using Telerik.Web.UI;
    
    namespace TelerikTreetoProc
    {
        public partial class _Default2 : System.Web.UI.Page
        {
            protected void Page_Load(object sender, EventArgs e)
            {
                string sql = "select EmployeeID, FirstName + LastName [name] from Employees";
                string connString = WebConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString;
                using(var cn = new SqlConnection(connString ))
                using(var cmd = new SqlCommand( sql, cn))
                {
                    cn.Open();
                    cmd.CommandType = CommandType.Text;
                    SqlDataReader dr = cmd.ExecuteReader();
                    RadTreeNode nd = treeSideBarCommands.Nodes[2];
                    while (dr.Read())
                    {
                        nd.Nodes.Add(new RadTreeNode(dr[1].ToString(), dr[0].ToString()));
                    }
                }
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm binding a ddl inside a gridview inside an EditItemTemplate. The values bind but
I have a drop down which has a method which binds data to it:
How do you avoid duplicate bound items in this scenario: There's a databound control
I want to update my dropdown list datasource (get the values from the database
I am using dropdownlist control and a RequiredFieldValidator control for that ddl inside the
Is it possible to use a page-property as Datasource/DataSourceID for a ListBox or other
There is a drop down list bind with datasource -> Called This DropDownList A
Im looking for a simple control or jQuery plugin that convert a DropDownList to
I have a dropdownlist (cboViewAlbums) which has displays album values. The first item is
I have a DropDownList with values that I get from a SQL database. Depending

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.