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

Error in IDE using ContextMenu

1 Answer 49 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Blaine
Top achievements
Rank 1
Blaine asked on 02 Dec 2008, 09:35 PM
I am using the RadContextMenu in my Silverlight application and have the following issue.  When I add a "CLICK" event handler I get a "squiggly" line under the word "Click" and the message "AG_E_PARSER_BAD_PROPERTY_VALUE" when I hover over it.  However, the event gets generated in the code-behind and everything works fine.  The problem is I can no longer see the visual representaion of my XAML in the IDE do to this error.  Once I remove the reference to "Click" then everything renders correctly.  I have a reference to Here is my code:

<UserControl x:Class="HeliaSearch.Test"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    Width="800" Height="600">

...

 <telerik:RadContextMenu.ContextMenu>
      <telerik:RadContextMenu x:Name="SearchItemContextMenu" EventName="MouseLeftButtonDown">
           <telerik:RadMenuItem Header="Add to Scratchpad..." x:Name="AddToScratchpad" Click="AddToScratchpad_Click"/>
            <telerik:RadMenuItem Header="View in Browser..." />
      </telerik:RadContextMenu>
 </telerik:RadContextMenu.ContextMenu>

...

 

 


Anyone have any ideas on this?  I am using the latestest version on the Telerik controls and the Release version of the Silverlight SDK, VS2008, etc.

-Blaine

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 03 Dec 2008, 07:30 AM
Hi Blaine,

This is a bug with RadContextMenu but it is fixed. We will release service pack 2 in the middle of december that include the fix. If you need it earlier just open a support ticket and I'll send you the hotfix.

Sorry for the inconvenience.


Sincerely yours,
Hristo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Blaine
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or