Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Menu > RightToLeft and RadContextMenu problem

Answered RightToLeft and RadContextMenu problem

Feed from this thread
  • Dalibor avatar

    Posted on Jan 20, 2012 (permalink)

    Hi Telerik,
    I have RadContextMenu which is opened for Click event of Button. Works fine.

    But if I change FlowDirection to RightToLeft then RadContextMenu is opened somewhere outside of browser area and it is not visible.
    This is a code which does not work.
    <UserControl x:Class="COntextMenuRightToLeft.MainPage"
                 FlowDirection="RightToLeft"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                 mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
       <Grid>
          <Grid.RowDefinitions>
             <RowDefinition Height="Auto" />
             <RowDefinition Height="*" />
          </Grid.RowDefinitions>
          <Grid.ColumnDefinitions>
             <ColumnDefinition Width="Auto" />
             <ColumnDefinition Width="*" />
          </Grid.ColumnDefinitions>
          <Button Content="Add" Width="32" Height="32" Grid.Row="0" Grid.Column="0">
             <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu EventName="Click">
                   <telerik:RadMenuItem Header="Add" />
                   <telerik:RadMenuItem Header="Edit" />
                   <telerik:RadMenuItem Header="Delete" />
                </telerik:RadContextMenu>
             </telerik:RadContextMenu.ContextMenu>
          </Button>
       </Grid>
    </UserControl>
    Could you have a look?
    Best regards,
    Dalibor

    Reply

  • Answer Boyan Boyan admin's avatar

    Posted on Jan 24, 2012 (permalink)

    Hi,

    We are aware of this problem, the popup is not calculating correctly its position when RightToLeft is set. We are currently working on improving the RightToLeft support for all our controls that have popups. This will be fixed for Q1 which is due in the middle of February. Hope this works for you.

    Don't hesitate to contact us if you have other questions.


    All the best,
    Boyan
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Menu > RightToLeft and RadContextMenu problem
Related resources for "RightToLeft and RadContextMenu problem"

Silverlight Menu Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]