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

  • Home
  • SEARCH
  • 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 8614201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:04:03+00:00 2026-06-12T05:04:03+00:00

I build the Radtreeview with child items, using the load on demand event to

  • 0

I build the Radtreeview with child items, using the load on demand event to load the child items and it works for fine.

The problem here is for every child item there is expand sign but there is a point there are no child items for a parent, in that case for the child items I don’t want show the expand sign. How can I achieve this ?

  • 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-06-12T05:04:04+00:00Added an answer on June 12, 2026 at 5:04 am

    I found the answer there is a property called IsLoadOnDemandEnabled and set this property to false on ItemPrepared event.

                      <telerik:RadTreeView  x:Name="radTreeView" 
                                 IsExpandOnSingleClickEnabled="True"
                                 IsLoadOnDemandEnabled="true" 
                                 LoadOnDemand="RadTreeView_LoadOnDemand"
                                ItemPrepared="radTreeView_ItemPrepared"
                                ItemsSource="{Binding TreeViewSource,Mode=OneWay}" 
                             ItemTemplate="{StaticResource ParentTemplate}"
                             />
    

    and in the xaml.cs

        private void radTreeView_ItemPrepared(object sender, RadTreeViewItemPreparedEventArgs e)
        {
            // get a reference to the item that has been selected
            RadTreeViewItem preparedItem = e.PreparedItem as RadTreeViewItem;
                preparedItem.IsLoadOnDemandEnabled = false;
        }
    

    for reference
    http://www.telerik.com/help/wpf/radtreeview-features-load-on-demand.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I build an application and every tab-bar item contains 4 or sometimes 5 nested
Build a menu using the WPF Ribbon. My application is in the MVVM pattern.
I build my web site using asp.net mvc3, layout is 2 columns, main content
I build sites in .NET without using Visual Studio. Are virtual includes the right
We build software using Hudson and Maven. We have C#, java and last, but
Build fails with Groovy 1.8, Hibernate JPA annotations I've been stuck using Groovy 1.7.0
I build a Firefox Extension and i'm using the graph api. At the moment
I build a application in Android & iphone both it work fine. but some
I build a custom AuthenticationSuccessHandler so users can login using Ajax aswell use a
I build a Java TimeZone object using the TimeZone String like GMT-8,GMT,PST,EST etc. This

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.