or
Schedule.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Timeline;
Schedule.GetTimelineView().ResourcesPerView = 8;
Schedule.GroupType = GroupType.Resource;
SchedulerDayViewGroupedByResourceElement headerElement = Schedule.SchedulerElement.ViewElement
as
SchedulerDayViewGroupedByResourceElement;
Resource resource;
resource =
new
Resource();
resource.Id =
new
EventId(
"AC00-1"
);
resource.Name =
"AC00-1"
;
resource.Color = Color.Beige;
Schedule.Resources.Add(resource);
resource =
new
Resource();
resource.Id =
new
EventId(
"AC00-2"
);
resource.Name =
"AC00-2"
;
resource.Color = Color.PowderBlue;
Schedule.Resources.Add(resource);
resource =
new
Resource();
resource.Id =
new
EventId(
"AC00-3"
);
resource.Name =
"AC00-3"
;
resource.Color = Color.PowderBlue;
Schedule.Resources.Add(resource);
Schedule.Appointments.BeginUpdate();
Appointment appointment;
appointment =
new
Appointment(
new
DateTime(2011, 12, 07, 12, 00, 00),
new
DateTime(2011, 12, 09, 12, 00, 00),
"Summary"
,
"Descriptions"
,
"Location"
);
appointment.ResourceId =
this
.Schedule.Resources[0].Id;
appointment.BackgroundId = (
int
)AppointmentBackground.Important;
appointment.ToolTipText =
"This is my custom Tooltip"
;
Schedule.Appointments.Add(appointment);
Dim
i1
As
New
Bitmap(fullfilepathtopicture)
'where fullfilepathtopicture is already a string of the full path and filename
Me
.RadRichTextBox1.InsertImage(i1)
rtvUserList.DataSource =
null
;
lsmu = RfcCalls.GetListOfMainUsers();
rtvUserList.DataSource = lsmu;
rtvUserList.DisplayMember =
"DisplayValue\\DisplayValue"
;
rtvUserList.ValueMember =
"Uname"
;
rtvUserList.Name =
"DisplayValue"
;
rtvUserList.ChildMember =
"SIPMainUser\\Subuser"
;
rtvUserList.ClearSelection();