Possible Context Menu Bug in Q1 2011

4 posts, 1 answers
  1. Richard
    Richard avatar
    72 posts
    Member since:
    Feb 2009

    Posted 23 Mar 2011 Link to this post

    Since upgrading to Q1 the context menus attached to my text boxes in sliverlight child windows (popups) are broken. The menu still works on text boxes on normal pages.

    The below super simple example crashes in child windows and works in normal pages

    <TextBox Height="97" HorizontalAlignment="Left" Margin="64,38,0,0" Name="textBox1" VerticalAlignment="Top" Width="155" >
                        <telerik:RadMenuItem Header="Copy" />
                        <telerik:RadMenuItem Header="Paste" />
                        <telerik:RadMenuItem Header="Cut" />
                        <telerik:RadMenuItem IsSeparator="True" />
                        <telerik:RadMenuItem Header="Select All" />

    Error Message:
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
       at MS.Internal.XcpImports.UIElement_TransformToVisual(UIElement element, UIElement visual)
       at Telerik.Windows.Controls.RadContextMenu.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
       at Telerik.Windows.Controls.RadContextMenu.TriggerEventFired()
       at Telerik.Windows.Controls.RadContextMenu.OnEventTriggered(Object sender, EventArgs e)
       at Telerik.Windows.Controls.RadContextMenu.OnElementWithContextMenuMouseClick(Object sender, MouseButtonEventArgs e)
       at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)


  2. Answer
    Hristo avatar
    832 posts

    Posted 25 Mar 2011 Link to this post

    Hi Richard,

    We have fixed this issue in the Latest Internal Build. We have also fixed other issue with RadContextMenu attached on a element in a ChildWindow and zoomed browser but this fix will be included in the next LIB.

    Sorry for the caused inconvenience.

    the Telerik team
  3. Nathan
    Nathan avatar
    1 posts
    Member since:
    Sep 2010

    Posted 31 Mar 2011 Link to this post

    I just updated today and am having this issue.  Am I able to rollback the update?  Please advise.
  4. Hristo
    Hristo avatar
    832 posts

    Posted 01 Apr 2011 Link to this post

    Hello Nathan,

    Please use the Latest Internal Build (LIB) from your account to get a version that fixes this issue.
    Or if you don't want to use LIB you could change ChildWindow with RadWindow.

    Let us know if you need more information.

    Best wishes,
    the Telerik team
Back to Top