Error in IDE using ContextMenu

2 posts, 0 answers
  1. Blaine
    Blaine avatar
    1 posts
    Member since:
    Nov 2008

    Posted 02 Dec 2008 Link to this post

    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

     

     

     

     

     

  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 03 Dec 2008 Link to this post

    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.
  3. DevCraft banner
Back to Top