5 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 07 May 2012, 07:52 AM
Hi,
Try the following code snippet to add RadComboBox in the new appointment window.
ASPX:
Thanks,
Shinu.
Try the following code snippet to add RadComboBox in the new appointment window.
ASPX:
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
......>
<
InlineInsertTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Development"
Value
=
"Development"
/>
<
telerik:RadComboBoxItem
Text
=
"Testing"
Value
=
"Testing"
/>
</
Items
>
</
telerik:RadComboBox
>
</
InlineInsertTemplate
>
</
telerik:RadScheduler
>
Thanks,
Shinu.
0

Venkata
Top achievements
Rank 1
answered on 07 May 2012, 02:49 PM
sorry.. I tried that code but it's not adding into my New Appointment window
0

Shinu
Top achievements
Rank 2
answered on 08 May 2012, 05:20 AM
Hi,
Here I am pasting the full code that I tried which worked as expected.
aspx:
Thanks,
Shinu.
Here I am pasting the full code that I tried which worked as expected.
aspx:
<
telerik:RadScheduler
ID
=
"radscheduler1"
runat
=
"server"
DataKeyField
=
"BirthDate"
AllowInsert
=
"true"
AllowEdit
=
"true"
DataEndField
=
"BirthDate"
DataStartField
=
"BirthDate"
DataSubjectField
=
"BirthDate"
AppointmentStyleMode
=
"Auto"
>
<
InlineInsertTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Development"
Value
=
"Development"
/>
<
telerik:RadComboBoxItem
Text
=
"Testing"
Value
=
"Testing"
/>
</
Items
>
</
telerik:RadComboBox
>
</
InlineInsertTemplate
>
</
telerik:RadScheduler
>
Thanks,
Shinu.
0

Venkata
Top achievements
Rank 1
answered on 08 May 2012, 02:36 PM
I am sorry.. still it's not showing on my New Appointment window
please see attached image(and one ore thing why my Subject, Location, Description Textboxes not showing fully?)
here is my code.. what i am missing..?
can we bind that RadCombobox to database.. if Yes how can we do..?
please see attached image(and one ore thing why my Subject, Location, Description Textboxes not showing fully?)
here is my code.. what i am missing..?
can we bind that RadCombobox to database.. if Yes how can we do..?
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
DataEndField
=
"EventEndDate"
DataKeyField
=
"EventId"
DataStartField
=
"EventStartDate"
DataSubjectField
=
"Subject"
Height
=
"550px"
OnClientAppointmentsPopulating
=
"OnClientAppointmentsPopulating"
OnClientNavigationComplete
=
"OnClientNavigationComplete"
OnNavigationCommand
=
"RadScheduler1_NavigationCommand"
OnNavigationComplete
=
"RadScheduler1_NavigationComplete"
EnableDescriptionField
=
"true"
Skin
=
"Office2007"
Width
=
"100%"
StartEditingInAdvancedForm
=
"False"
AppointmentStyleMode
=
"Auto"
onappointmentinsert
=
"RadScheduler1_AppointmentInsert"
onappointmentdelete
=
"RadScheduler1_AppointmentDelete"
onappointmentupdate
=
"RadScheduler1_AppointmentUpdate"
MinutesPerRow
=
"30"
ShowFooter
=
"False"
ShowFullTime
=
"True"
StartInsertingInAdvancedForm
=
"True"
CustomAttributeNames
=
"Location"
DataDescriptionField
=
"Description"
DataRecurrenceField
=
"RecurrenceRule"
DataRecurrenceParentKeyField
=
"CalendarEventRecurrenceTypeID"
DataTimeZoneIdField
=
"TimeZone"
>
<
advancedform
modal
=
"true"
EnableTimeZonesEditing
=
"True"
EnableCustomAttributeEditing
=
"True"
/>
<
appointmenttemplate
>
<%# Eval("subject")%>
</
appointmenttemplate
>
<
AdvancedForm
Modal
=
"true"
/>
<
TimelineView
UserSelectable
=
"false"
/>
<
InlineInsertTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Development"
Value
=
"Development"
/>
<
telerik:RadComboBoxItem
Text
=
"Testing"
Value
=
"Testing"
/>
</
Items
>
</
telerik:RadComboBox
>
</
InlineInsertTemplate
>
<
TimeSlotContextMenuSettings
EnableDefault
=
"true"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"true"
/>
</
telerik:RadScheduler
>
0

Shinu
Top achievements
Rank 2
answered on 09 May 2012, 05:44 AM
Hi Venkata,
Since you are using advanced form for inserting you can use your own template for the advanced form.
ASPX:
Please take a look into this.
Thanks,
Shinu.
Since you are using advanced form for inserting you can use your own template for the advanced form.
ASPX:
<
telerik:RadScheduler
ID
=
"radscheduler1"
runat
=
"server"
DataKeyField
=
"BirthDate"
StartInsertingInAdvancedForm
=
"true"
AllowInsert
=
"true"
AllowEdit
=
"true"
DataEndField
=
"BirthDate"
DataStartField
=
"BirthDate"
DataSubjectField
=
"BirthDate"
AppointmentStyleMode
=
"Auto"
>
<
AdvancedInsertTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Development"
Value
=
"Development"
/>
<
telerik:RadComboBoxItem
Text
=
"Testing"
Value
=
"Testing"
/>
</
Items
>
</
telerik:RadComboBox
>
</
AdvancedInsertTemplate
>
</
telerik:RadScheduler
>
Please take a look into this.
Thanks,
Shinu.