or
body
{
margin-left: 0;
margin-top: 0;
margin-right: 0;
height: 100%;
font-family:Times New Roman;
}
<Items>
<telerik:RadListBoxItem Text=
"Test"
/>
</Items>
protected
void
RadListBox_Dropped(
object
sender, RadListBoxDroppedEventArgs e)
{
foreach
( RadListBoxItem item
in
e.SourceDragItems)
{
RadDock dock = CreateRadDock();
dock.Tag = item.Text;
dock.Title = dock.Tag + CurrentDockStates.Count.ToString();
LoadContent(dock);
RadDockZone1.Controls.Add(dock);
}
}
protected
void
LoadHistoricalReports( ReportServicesProxy.HistoricalReport[] historicalReports )
{
RadListBox2.Items.Clear();
foreach
( var report
in
historicalReports )
{
RadListBoxItem currentItem =
new
RadListBoxItem(report.Name);
RadListBox2.Items.Add(currentItem);
}
}
Public
ReadOnly
Property
TeamsCodes
As
String
()
Get
Return
txtTeams.Text.Trim().Replace(
" "
,
""
).Split(
","
)
End
Get
End
Property
Public
ReadOnly
Property
CalendarEvents()
As
IList(Of CalendarEvent)
Get
If
_calendarEvents
Is
Nothing
Then
_calendarEvents = _dataContext.CalendarEvents.Where(
Function
(g) g.StartDate.Month = DateTime.Now.Month
And
TeamsCodes.Contains(g.TeamCode)).ToList()
End
If
Return
_calendarEvents
End
Get
End
Property
Protected
Sub
btnBuildCalendar_Click(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
btnBuildCalendar.Click
If
(
Not
String
.IsNullOrEmpty(txtTeams.Text))
Then
rsCalendarEvents.DataSource = CalendarEvents
End
If
End
Sub
<
telerik:RadScheduler
ID
=
"rsCalendarEvents"
runat
=
"server"
readonly
=
"true"
DataKeyField
=
"CalendarEventId"
DataSubjectField
=
"EventName"
DataDescriptionField
=
"EventDescription"
DataStartField
=
"StartDate"
DataEndField
=
"EndDate"
Height
=
"600px"
>
</
telerik:RadScheduler
>