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

aceesing appointment values from RadScheduler1_AppointmentClick

3 Answers 71 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
sreedevi
Top achievements
Rank 1
sreedevi asked on 15 Jul 2008, 05:26 PM

Hi,

From the RadScheduler1_AppointmentClick I want to access the customattribute values.

I was trying to do that using
Dim s1 As String = e.Appointment.Attributes("RECUR_SERIES_ID") but it was returning "Nothing"

My main goal is.... when user clicks on the appointmnet i want to redirect the user to a custom page to edit the appointment, based on the customattribute value.

You can see my way of using RadScheduler here.

<
telerik:RadScheduler runat="server" ID="RadScheduler1" EnableEmbeddedSkins="True" Height="630px"

Skin="Outlook" DayStartTime="06:00:00" DayEndTime="22:00:00" TimeZoneOffset="00:00:00"

DataKeyField="REP_APPT_ID" OnClientTimeSlotClick="OnClientTimeSlotClick"

 DataSubjectField="Subject" CustomAttributeNames = "RECUR_SERIES_ID"

 DataStartField="START_DT_TIME" DataEndField="END_DT_TIME" AllowDelete="false" AllowInsert="false" ShowViewTabs="false" >

 </telerik:RadScheduler>


Am I doing any thing wrong here? Please let me know.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 16 Jul 2008, 12:55 PM
Hi sreedevi,

The code looks correct. Maybe there was not value for the custom attribute from your data source. If you have a sample project, you can open a support ticket and send it to us for testing.


Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
sreedevi
Top achievements
Rank 1
answered on 16 Jul 2008, 02:09 PM
Hi,
 
I know for sure that I have a value existing for custom attribute from my datasource. I am using prometheus version of Scheduler.  I am wondering if it is not working because of that. Let me know.

Thanks
0
Peter
Telerik team
answered on 17 Jul 2008, 08:58 AM
Hi sreedevi,

In such case I suggest you open a support ticket and send us a sample project which we can test locally. This would be the fastest way to unveil the mystery.

Kind regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
sreedevi
Top achievements
Rank 1
Answers by
Peter
Telerik team
sreedevi
Top achievements
Rank 1
Share this question
or