Multiple tree nodes remain highlighted.

6 posts, 0 answers
  1. Bijender
    Bijender avatar
    5 posts
    Member since:
    Jul 2011

    Posted 28 Jul 2011 Link to this post

    Hi,

    I am using Telerik tree control inside the busy indicator. When user clicks on a tree node then busy indicator shows that some process is going on. But when user clicks on multiple tree node as soon as the busy indicator stops then multiple tree nodes become hightlighted. It creates ambiguity to user that which node was selected.

    When I take out the Telerik tree view code from the busy indicator then Tree works fine.

    Below is the code used.  I have attached the image as well.

     

     

     

     

     

    <telerik:RadBusyIndicator x:Name="BusyInd" HorizontalAlignment="Center" Background="Transparent" VerticalAlignment="Center" BorderThickness="0" >

     

     

     

     


     

     

    <

     

     

    telerik:RadTreeView x:Name="locationTree" LoadOnDemand="locationTree_LoadOnDemand" VerticalAlignment="Top" Margin="0" Grid.Row="1" MinHeight="300" Width="Auto" Height="{Binding Height, ElementName=grdTree}" ExpanderStyle="{StaticResource ExpanderStyle1}" IsLineEnabled="True" Background="White" PreviewSelectionChanged="locationTree_PreviewSelectionChanged" SelectionChanged="locationTree_SelectionChanged">

     

     

     

     

     

     

     

     

     

     

    <telerik:RadTreeView.ItemTemplate>

     

     

     

     

     

     

     

     

     

    <telerik:HierarchicalDataTemplate ItemsSource="{Binding SubLocation}">

     

     

     

     

     

     

     

     

     

    <StackPanel>

     

     

     

     

     

     

     

     

     

    <TextBlock Text="{Binding LOCATION_ID}" />

     

     

     

     

     

     

     

     

     

    </StackPanel>

     

     

     

     

     

     

     

     

     

    </telerik:HierarchicalDataTemplate>

     

     

     

     

     

     

     

     

     

    </telerik:RadTreeView.ItemTemplate>

     

     

     

     

     

     

     

     

     

    </telerik:RadTreeView>

     



    </

     

     

    telerik:RadBusyIndicator>

     



    Please Help
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 01 Aug 2011 Link to this post

    Hi Bijender,

    Which version of our products are you using? We did have such an issue but it was fixed for the official Q2 2011 release. I've attached my test project. Could you please take a look at it and let me know if I am missing anything. I'd be glad to further assist you.

    Greetings,
    Kiril Stanoev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
  4. Bijender
    Bijender avatar
    5 posts
    Member since:
    Jul 2011

    Posted 02 Aug 2011 Link to this post

    Hi Kiril,

       Thanks for your reply.

    I am using the RadControls for Silverlight Q3 2010 SP1 having version is "2010.3.1314.1040".
    is it ok or do i need to upgrade?

    Thanks,
    Bijender Vashist
  5. Bijender
    Bijender avatar
    5 posts
    Member since:
    Jul 2011

    Posted 04 Aug 2011 Link to this post

    Hi Kiril,

       Thanks for your suggestion, after upgrading the control its working fine.

    Regards,
    Bijender Vashist
  6. Bala
    Bala avatar
    20 posts
    Member since:
    Dec 2011

    Posted 19 Mar 2012 Link to this post

    Hi Kiril Stanoev ,


      i m using rad Q2 2011, n i m trying to highlight the text in treeview  by Seraching  the text in text column i m able find node and expand it .but i need to highlight the node / select the text.


    Is it Possible to Highlight the Node  or Not.


    msb



  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 21 Mar 2012 Link to this post

    Hello Bala,

     In databinding scenario, if your DataTemplate set for an ItemTemplate of the RadTreeView could be set like this:
    <DataTemplate>
        <Grid>
              <TextBlock Text={Binding Name"}"/>
        </Grid>
    </DataTemplate>
    This way , when you want to ""highlight" particular RadTreeViewItem, you will be able to access the Grid by RadTreeViewItem.Header and set its Background property. Hope this is suitable for you.

    All the best,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top
DevCraft banner