This is a migrated thread and some comments may be shown as answers.

Possible Context Menu Bug in Q1 2011

3 Answers 48 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Richard asked on 23 Mar 2011, 11:01 PM
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:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu>
                    <telerik:RadMenuItem Header="Copy" />
                    <telerik:RadMenuItem Header="Paste" />
                    <telerik:RadMenuItem Header="Cut" />
                    <telerik:RadMenuItem IsSeparator="True" />
                    <telerik:RadMenuItem Header="Select All" />
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>
        </TextBox>


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)



Richard

3 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 25 Mar 2011, 08:57 AM
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.

Regards,
Hristo
the Telerik team
0
Nathan
Top achievements
Rank 1
answered on 31 Mar 2011, 11:28 PM
I just updated today and am having this issue.  Am I able to rollback the update?  Please advise.
0
Hristo
Telerik team
answered on 01 Apr 2011, 08:35 AM
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,
Hristo
the Telerik team
Tags
Menu
Asked by
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Hristo
Telerik team
Nathan
Top achievements
Rank 1
Share this question
or