Appointment Context Menu With Icons

2 posts, 1 answers
  1. Teena
    Teena avatar
    16 posts
    Member since:
    Feb 2013

    Posted 14 Feb 2013 Link to this post

    Hello,

    Can anyone provide me with the sample code to create an appointment context menu for the RadScheduler. I also want to add icon to the context menu items.

    Please Help, Its Urgent.
    Teena
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 14 Feb 2013 Link to this post

    Hi Teena,

    Please try the below markup to create a custom Appointment context menu. To add an icon to the context menu item, set the ImageUrl property of the RadMenuItem.

    ASPX:
    <AppointmentContextMenus>
        <telerik:RadSchedulerContextMenu runat="server" ID="ContextMenu1" Skin="Vista">
            <Items>
                <telerik:RadMenuItem Text="Edit" Value="CommandEdit" ImageUrl="../Images/image01.JPG" />
                <telerik:RadMenuItem IsSeparator="True" />
                <telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="../Images/Image02.jpg" />
            </Items>
        </telerik:RadSchedulerContextMenu>
    </AppointmentContextMenus>

    Thanks,
    Princy.
Back to Top