Posted 12 July 2019, 1:34 am EST
I am working on an winforms app (vb.net) and I need some assistance with the C1Schedule control. I have a table of “Sales Activities” that I need to show on a calendar. Each of these schedules has a due date, some notes, an ID field identifying which sales deal they belong to, and I field showing which sales rep they belong to and an ID field for the type of activity. What I need to be able to do is:
- Bind to the database in code at runtime. My data source is a data table object. I also need to be able to specify the field mappings at runtime.
- I need to hide or disable the “Private”, “Resources”, “Contacts” and “Resources” fields on the add/edit appointment form.
- I need to be able to allow the user to specify an activity type (from a drop down list) on the add/edit appointment form.
- When a user inserts an appointment, I need it to get the UserID of the owner from a drop down list on the parent form.
The only tutorial I can find covers only the rudimentary basics and doe snot cover any of the above. I may need to create my own Add/Edit appointment form which I don’t mind but the need to bind to the data in code at runtime is going to be paramount. If I go that route, I will need to disable the add/edit capabilities in the control itself. Do you have any suggestions for me?
Thanks,
Mike