This is a migrated thread and some comments may be shown as answers.

OnAppointmentClick()

3 Answers 125 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
josh
Top achievements
Rank 1
josh asked on 26 Sep 2008, 12:48 PM
Hi, I am having a problem getting this event to fire at all. I know it used to work in the older version but it just seems to not fire at all in the new version I just got.

Anyone else find this problem? Help :(

Here is my scheduler:

<telerik:RadScheduler runat="server" ID="RadScheduler2"  
    Skin="Office2007" OverflowBehavior="Expand" Height="100%"  
    DayStartTime="08:00:00" DayEndTime="23:59:59" TimeZoneOffset="03:00:00"  
    SelectedView="MonthView" ShowHeader="true" ShowViewTabs="false" ShowFooter="true"  
    OnNavigationCommand="RadScheduler2_NavigationCommand"  
    DataKeyField="Id" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"  
    OnAppointmentClick="RadScheduler2_AppointmentClick" 
    AllowEdit="false" AllowDelete="false" AllowInsert="false"   
    EnableAdvancedForm="False" ReadOnly="True"
</telerik:RadScheduler> 

It doesnt find my breakpoints in the code behind or anything really.

Thank you,
josh

3 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 26 Sep 2008, 12:49 PM
Hi

is it because you have
AllowEdit="false" 

Mark
0
josh
Top achievements
Rank 1
answered on 26 Sep 2008, 12:52 PM
<telerik:RadScheduler runat="server" ID="RadScheduler2"  
    Skin="Office2007" OverflowBehavior="Expand" Height="100%"  
    DayStartTime="08:00:00" DayEndTime="23:59:59" TimeZoneOffset="03:00:00"  
    SelectedView="MonthView" ShowHeader="true" ShowViewTabs="false" ShowFooter="true"  
    OnNavigationCommand="RadScheduler2_NavigationCommand"  
    DataKeyField="Id" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"  
    OnAppointmentClick="RadScheduler2_AppointmentClick" 
    AllowEdit="true" AllowDelete="false" AllowInsert="false"   
    EnableAdvancedForm="False" ReadOnly="True"
</telerik:RadScheduler> 


I changed it and it still is not firing the event :\
0
Peter
Telerik team
answered on 26 Sep 2008, 02:06 PM
Hello josh,

The AppointmentClick event will fire when you double click on the appointment. Single click will not fire this event. Could this be the reason for the confusion?

Greetings,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
josh
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
josh
Top achievements
Rank 1
Peter
Telerik team
Share this question
or