Hi!
I can add AppointmentContextMenus rows programmatically like this:
How can I put them into a submenu?
See my attached picture (a screen dump from Telerik Context Menu Demo), I want my list of employees to end up inside the "Categorize" menurow.
I'm using v.2011.2.915.40
Sincerely, Thomas
I can add AppointmentContextMenus rows programmatically like this:
foreach
(Resource resourceUser
in
RadScheduler1.Resources.GetResourcesByType(
"Employee"
))
{
string
availEmployee = resourceUser.Text;
RadMenuItem resourceItem =
new
RadMenuItem(availEmployee);
resourceItem.Attributes[
"Key"
] = resourceUser.Key.ToString();
resourceItem.Value =
"CommandAddAppointment"
;
resourceItem.ImageUrl =
"/i/Toolbar/Custom/personal.png"
;
RadScheduler1.AppointmentContextMenus[0].Items.Add(resourceItem);
}
How can I put them into a submenu?
See my attached picture (a screen dump from Telerik Context Menu Demo), I want my list of employees to end up inside the "Categorize" menurow.
I'm using v.2011.2.915.40
Sincerely, Thomas