Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
How to save custom appointment objects in DB
posted

Hi,

Our requirement is to create a Custom AddAppointment screen where this screen should have extra fields other than those standard AddAppointment screen provides.

To do this I got some infomation on how to extend the Appointment Class from this link https://ko.infragistics.com/help/aspnet/webschedule-extending-appointments-and-resources

Could some one provide me the steps to save the custom fileds of AddAppointment screen into database and retrieve the same information from database and show them in AddAppointment screen when a existing appointment in selected in the dayview control.

Thanks in Advance.

Parents
No Data
Reply
  • 24671
    Suggested Answer
    posted

    Hi,

    You could use the new 2009.2 WebSchedule feature - WebScheduleGenericDataProvider, which would allow you to bind to any data source, and have custom fields which will be accessible through the DataRow property of the Activity and Resource objects. So you could bring any custom data , and later on at runtime, access it like this:

    appt.DataRow (the DataRow will be of different type, depending on the kind of DataSource you are binding to). 

    You can check out the Generic Provider samples here:

    https://ko.infragistics.com/samples/aspnet/schedule/overview

    ASP.NET (AJAX Enabled) => WebSchedule => (Generic Data Provider samples)

     

    Hope it helps. Please let me know if you have any questions.

    Thanks for the feedback,

    Angel 

Children
No Data