Get Value from AppointmentDialog?

5 posts, 0 answers
  1. Hilda Kenny
    Hilda Kenny avatar
    43 posts
    Member since:
    Jul 2009

    Posted 20 Sep 2010 Link to this post

    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
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 23 Sep 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Hilda Kenny
    Hilda Kenny avatar
    43 posts
    Member since:
    Jul 2009

    Posted 23 Sep 2010 Link to this post

    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

     

  5. Hilda Kenny
    Hilda Kenny avatar
    43 posts
    Member since:
    Jul 2009

    Posted 23 Sep 2010 Link to this post

    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.
  6. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 24 Sep 2010 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready