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

Get Resource Values

3 Answers 75 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 13 May 2009, 05:43 PM
Hi,
I am creating a Ball Field Scheduling application and i need to send an email out when a schedule is changed or canceled. I can get the values of the main data source but how do I get the values of my Resouces values from the edited record.

I am using
Dim subj As String = e.Appointment.Subject 
to get the value of the appointment text but I am grouping the scheduler by "FieldName" from my resource list How do I get this value so I can send the field that it is scheduled for in the email? My Resource name is "fields"
Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 15 May 2009, 02:17 PM
Hi Robert,

Please, try the following: e.Appointment.Resources.GetResourceByType("fields").Text

Is this what you need?

All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Robert
Top achievements
Rank 1
answered on 15 May 2009, 02:53 PM
Perfect Thanks

 

Dim fld As String = e.Appointment.Resources.GetResourceByType("fields").Text  
 
 
 

I was not putting the .Text at the end

 


 

0
Robert
Top achievements
Rank 1
answered on 15 May 2009, 02:53 PM
Perfect Thanks

 

Dim fld As String = e.Appointment.Resources.GetResourceByType("fields").Text  
 
 
 

I was not putting the .Text at the end

 


 

 

Tags
Scheduler
Asked by
Robert
Top achievements
Rank 1
Answers by
Peter
Telerik team
Robert
Top achievements
Rank 1
Share this question
or