Do Something When Checkboxes Show

Thread is closed for posting
2 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Jan 2013

    Posted 04 Mar 2013 Link to this post


    I want to be able to have a jump list with check box functionality in it as below:

    <telerikDataControls:RadJumpList x:Name="listIPAddresses" ItemTemplate="{StaticResource StyleIPList}" HorizontalAlignment="Left" Margin="10,101,0,0" VerticalAlignment="Top" Height="350" Width="436" EmptyContent="No IP Addresses Found" IsCheckModeEnabled="True" ListHeaderContent=""/>

    I also would like that when the user starts checking an item / items, the appbar will update with edit and delete icons. Which event will be able to do this for me and how can I tell how many items are checked?

    It would also be a bonus if I could stop the items turning a different colour if they are tapped by themselves without checkboxes.


  2. Deyan
    Deyan avatar
    2147 posts

    Posted 06 Mar 2013 Link to this post

    Hello Alex,

    Thanks for writing.

    Please take a look at the extensive documentation we have about the checkboxes support on RadDataBoundListBox/RadJumpList. Since RadJumpList inherits from RadDataBoundListBox, it supports all of its features (checkboxes included). Here's a link to the help resources:

    Basically, there are a couple of events you can use to understand when the Check Mode has been activated and when an item's state has been changed. There is also a collection called CheckedItems which contains all items that are currently checked.

    To prevent the item from changing its foreground when tapping on it, you can simply explicitly set the foreground of the root element withing your DataTemplate.

    I hope this helps.

    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top