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

Get Value from AppointmentDialog?

4 Answers 55 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Hilda Kenny
Top achievements
Rank 1
Hilda Kenny asked on 20 Sep 2010, 04:16 PM
Hi,
I'm trying to get a reference to the bindingsource at run-time. The reason is that I use a tableadapter for appointments and I have a field called 'Call Id'. This isn't on the AppointmentDialog, but everything else is like subject etc. How do I reference my new field from within the appointment dialog? (I have already extended it)

Thanks

4 Answers, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 23 Sep 2010, 10:14 AM
Hi Hilda Kenny,

Thank you for writing.
 
If I understand you correctly, you want to modify a custom appointment in a custom EditAppointmentDialog. In this case you could refer to the available documentation. I you additional questions, feel free to write back.

Kind regards,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Hilda Kenny
Top achievements
Rank 1
answered on 23 Sep 2010, 02:28 PM
hi, something like that yes, but I use AppointmentMappinginfo  ?   some code is below, thanks.

Me

 

.schedulerDataSet = New SchedulerDataSet()

 

 

Dim appointmentsAdapter As TBL_SCHEDULERTableAdapter = New TBL_SCHEDULERTableAdapter()

 

 

Try

 

appointmentsAdapter.FillByUser(

Me.schedulerDataSet.TBL_SCHEDULER, iUser)

 

 

Dim dataSource As SchedulerBindingDataSource = New SchedulerBindingDataSource()

 

appointmentMappingInfo.Start =

"DATE_FROM"

 

appointmentMappingInfo.End =

"DATE_TO"

 

appointmentMappingInfo.Summary =

"SUMMARY"

 

appointmentMappingInfo.Description =

"DESCRIPTION"

 

appointmentMappingInfo.Location =

"LOCATION"

 

appointmentMappingInfo.BackgroundId =

"APPOINTMENT_TYPE"

 

appointmentMappingInfo.StatusId =

"STATUS_ID"

 

 

dataSource.EventProvider.Mapping = appointmentMappingInfo

schRequestor.DataSource = dataSource

dataSource.EventProvider.DataSource =

Me.schedulerDataSet.TBL_SCHEDULER

 

0
Hilda Kenny
Top achievements
Rank 1
answered on 23 Sep 2010, 03:04 PM
To put it another way. The subject field is bound to a datasource. How can I access this, so I can get another value that's on that datasource but no on the screen.  Thanks.
0
Dobry Zranchev
Telerik team
answered on 24 Sep 2010, 06:16 PM
Hi Hilda Kenny,

Thank you for writing back. Unfortunately, I can no understand where exactly the problem is. If only the field is missing then you could follow the available documentation for custom edit appointment dialog and binding to custom field. If these do not help, please provide a sample example and describe in more details what is your purpose. I will looking for your response.

Greetings,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler and Reminder
Asked by
Hilda Kenny
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Hilda Kenny
Top achievements
Rank 1
Share this question
or