RadJumpList with ContextMenu and IsCheckModeActive="True"

2 posts, 0 answers
  1. Michael
    Michael avatar
    12 posts
    Member since:
    Oct 2012

    Posted 03 Oct 2014 Link to this post


    I want to use Contextmenu and CheckMode in the Jumplist. 

    When the user taps on checkbox then the checkbox will be activated and the context menu is not displayed.
    But when the user tabs on ItemTemplate (text) this will show context menu AND the checkbox will be activated. I would like to show the context menu only.
    How can I do this?

    <telerikDataControls:RadJumpList ItemsSource="{Binding Appointments}" IsCheckModeActive="True" IsCheckModeEnabled="False" >
                <StackPanel Margin="0 -12 0 24">
                    <!-- ContextMenu -->
                        <telerikPrimitives:RadContextMenu OpenGesture="Tap" IsZoomEnabled="True" >
                            <telerikPrimitives:RadContextMenuItem Content="Download"/>
                            <telerikPrimitives:RadContextMenuItem Content="Open"/>
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{Binding StartDateTime, StringFormat=t}" Style="{StaticResource PhoneTextTitle2Style}" />
                        <TextBlock Text="{Binding Worker}" Style="{StaticResource PhoneTextTitle2Style}" />

  2. Rosy Topchiyska
    Rosy Topchiyska avatar
    547 posts

    Posted 07 Oct 2014 Link to this post

    Hi Michael,

    Thank you for contacting us.

    You have to handle the Tap event for the root element in the ItemTemplate and set the context menu for some inner element. I have attached a sample project for demonstration.

    I hope this helps.

    Rosy Topchiyska

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft banner
Back to Top