Silverlight Documentation

4 posts, 0 answers
  1. Paul Gallen
    Paul Gallen avatar
    156 posts
    Member since:
    Jun 2008

    Posted 12 Nov 2008 Link to this post

    Hi,

    I have noticed that your Silverlight help file contents is out of date, for example,

    documentation

    <telerik:RadContextMenu EventName="MouseLeftButtonDown">
      
    <telerik:RadMenuItem Header="ContextMenuItem 1" />
      
    <telerik:RadMenuItem Header="ContextMenuItem 2" />
      
    <telerik:RadMenuItem Header="ContextMenuItem 3" />
     
    </telerik:RadContextMenu>
    </telerik:RadContextMenu.ContextMenu>

    actual

    <telerikNavigation:RadContextMenu EventName="MouseLeftButtonDown" HorizontalAlignment="Left" Margin="46,220,0,188" Width="138" Grid.Column="1">
      <telerikNavigation:RadMenuItem Height="56" HorizontalAlignment="Right" Margin="0,72,23,0" VerticalAlignment="Top" Width="79" Header="0"/>
      <telerikNavigation:RadMenuItem Height="56" HorizontalAlignment="Right" Margin="0,72,23,0" VerticalAlignment="Top" Width="79" Header="1"/>
      </telerikNavigation:RadContextMenu>

    The namespaces are different.

    When is there a more recent release of the documentation available?

    Thanks


    Paul
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 12 Nov 2008 Link to this post

    Hello Paul Gallen,

    the prefix "telerikNavigation:" and "telerik:"  that you are seeing is not connected with the actual namespace where the control is defined.
     
    You can set whatever prefix you like - just point it to the correct namespace in the declaration.

    All the best,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Paul Gallen
    Paul Gallen avatar
    156 posts
    Member since:
    Jun 2008

    Posted 12 Nov 2008 Link to this post

    Hi Valentin,

    Thanks for lightening response.

    How then can I use the documentation samples within my code? without VS or Blend complaining? Sorry I'm new to Silverlight

    Paul.

  4. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 13 Nov 2008 Link to this post

    Hi Paul,

    You just need to define an equal tag prefix for the namespace declaration at the beginning of the xaml. You can refer to our live demos for example:

    http://demos.telerik.com/silverlight/

    Look at the namespace tag prefix in xaml:
    http://demos.telerik.com/silverlight/#ContextMenu/FirstLook

         xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        <Grid x:Name="LayoutRoot"
            <Border x:Name="BackgroundPad" ToolTipService.ToolTip="CTRL + Click to open the context menu"
                <telerik:RadContextMenu.ContextMenu> 
                    <telerik:RadContextMenu x:Name="backgroundContextMenu" 
     




    Hope this helps.

    All the best,
    Konstantin Petkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top