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

[Solved] DataSource as List<MyObject>

4 Answers 154 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Radoslaw
Top achievements
Rank 1
Radoslaw asked on 03 Dec 2007, 05:49 PM
Hello.

I have bound list to the scheduler and now i need to get the reference to the object from which the appointment was created.
Is there any possibility to get it having only appointment instance in the hand (for example having appointemt in the AppointmentCreated method get my object)?

Thanks,
Radek
 

4 Answers, 1 is accepted

Sort by
0
Radoslaw
Top achievements
Rank 1
answered on 07 Dec 2007, 12:36 PM
Hei!

I am still waiting for the answer. I havent found any solusion by this day..
0
Peter
Telerik team
answered on 07 Dec 2007, 03:35 PM
Hi Radoslaw,

One possible solution is to have a key in the original collection which will be mapped to the appointment's ID field. Then you can find the object by the ID of the appointment: e.Appointment.ID.


Cheers,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Radoslaw
Top achievements
Rank 1
answered on 11 Jan 2008, 08:04 PM
Hi!

What is the best place to do this mapping(put extra info about appointment to its id based on the underlying object from the list)?

regards,
Radek
0
Radoslaw
Top achievements
Rank 1
answered on 11 Jan 2008, 08:14 PM
Ok, i have the aswer, i did it with DataKeyField..
Tags
Scheduler
Asked by
Radoslaw
Top achievements
Rank 1
Answers by
Radoslaw
Top achievements
Rank 1
Peter
Telerik team
Share this question
or