or
<
telerik:RadAjaxManagerProxy
ID
=
"rAjaxManagerProxy"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"left"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"left"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"middle"
LoadingPanelID
=
"ralMain"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"middle"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"middle"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"right"
LoadingPanelID
=
"ralMain"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
protected void Page_Load(object sender, EventArgs e)
{
if (this.IsPostBack)
{
return;
}
this.rcbIndustry.DataSource = GetIndustries();
this.rcbIndustry.DataBind();
this.rcbIndustry.Items.Insert(0, new RadComboBoxItem());
this.rcbCustomer.DataSource = GetCustomers();
this.rcbCustomer.DataBind();
this.rcbCustomer.Items.Insert(0, new RadComboBoxItem());
}
<!--[if !IE]>-->
<
link
href
=
"Non-IE_themes/Telerik_nonIE.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<!--<![endif]-->
<!--[if gte IE 9]>
<
link
href
=
"Non-IE_themes/Telerik_nonIE.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<![endif]-->
.RadComboBoxDropDown .rcbScroll
{
height: 100% !important;
max-height: 300px;
}
private
bool
EditAppointment(
string
appointmentID)
{
// Load the existing Appointment
Guid appointmentGuid =
new
Guid(appointmentID);
Appointment editApt = RadScheduler_Main.Appointments.FindByID(appointmentGuid);
if
(editApt ==
null
)
{
return
false
;
}
RadScheduler_Main.ShowAdvancedEditForm(editApt);
return
true
;
}
<
telerik:RadScheduler
ID
=
"RadScheduler_Main"
runat
=
"server"
StartInsertingInAdvancedForm
=
"true"
MinutesPerRow
=
"15"
Height
=
"80%"
SelectedView
=
"TimelineView"
FirstDayOfWeek
=
"Monday"
OnAppointmentInsert
=
"RadScheduler_Main_AppointmentInsert"
OnClientFormCreated
=
"schedulerFormCreated"
GroupingDirection
=
"Vertical"
OnClientAppointmentClick
=
"OnClientAppointmentClick"
OnAppointmentUpdate
=
"RadScheduler_Main_AppointmentUpdated"
OverflowBehavior
=
"Scroll"
AppointmentContextMenuSettings-EnableDefault
=
"true"
OnFormCreated
=
"RadScheduler_Main_OnFormCreated"
>
<
AdvancedForm
Modal
=
"true"
/>
<
Reminders
Enabled
=
"false"
/>
<
TimelineView
NumberOfSlots
=
"5"
/>
<
ResourceStyles
>
<
telerik:ResourceStyleMapping
Type
=
"App"
ApplyCssClass
=
"rsCategoryOrange"
Text
=
"ELN"
/>
<
telerik:ResourceStyleMapping
Type
=
"App"
ApplyCssClass
=
"rsCategoryGreen"
Text
=
"Reporting"
/>
<
telerik:ResourceStyleMapping
Type
=
"App"
ApplyCssClass
=
"rsCategoryYellow"
Text
=
"Stability"
/>
<
telerik:ResourceStyleMapping
Type
=
"App"
ApplyCssClass
=
"rsCategoryBlue"
Text
=
"Sample Tracker"
/>
</
ResourceStyles
>
<
AdvancedEditTemplate
>
<
scheduler:AdvancedForm
runat
=
"server"
ID
=
"AdvancedEditForm1"
Mode
=
"Edit"
Subject='<%# Bind("Subject") %>'
Start='<%# Bind("Start") %>'
End='<%# Bind("End") %>'
RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
ApplicationID = '<%# Bind("Applicationid") %>'
Task='<%# Bind("Taskid") %>' />
</
AdvancedEditTemplate
>
<
AdvancedInsertTemplate
>
<
scheduler:AdvancedForm
runat
=
"server"
ID
=
"AdvancedEditForm1"
Mode
=
"Insert"
Subject='<%# Bind("Subject") %>'
Start='<%# Bind("Start") %>'
End='<%# Bind("End") %>'
RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
ApplicationID = '<%# Bind("Applicationid") %>'/>
</
AdvancedInsertTemplate
>
</
telerik:RadScheduler
>
<
telerik:RadGrid
ID
=
"RadGridData"
runat
=
"server"
AllowFilteringByColumn
=
"True"
AllowSorting
=
"True"
GridLines
=
"None"
ShowGroupPanel
=
"True"
AllowPaging
=
"True"
onneeddatasource
=
"RadGridData_NeedDataSource"
PageSize
=
"25"
ShowStatusBar
=
"True"
ViewStateMode
=
"Enabled"
>
<
MasterTableView
Width
=
"100%"
Height
=
"100%"
>
</
MasterTableView
>
<
ClientSettings
AllowDragToGroup
=
"True"
AllowAutoScrollOnDragDrop
=
"False"
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
>
<
RowIndicatorColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
</
MasterTableView
>
<
HeaderContextMenu
EnableAutoScroll
=
"True"
></
HeaderContextMenu
>
</
telerik:RadGrid
>