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
555
Help with webschedule control
posted

I can not get the control to show the samples activitys includesd in the sample database, I connect it to the sql datasource using a ; as sql statement as indicated, added the webschedule info and put a dayview control, conected the day view control with the schedule info, and nothing happens, I have verified that the db contains activitys for today, tommorrow and past tomorrow, what am I leaving out to get the control working?

  • 29117
    Suggested Answer
    Offline posted

    Hello losoriomx ,

     

    I know it has been a while since you postred your question but ifk you're still in need of assistnace i'd be glad to help.

    Have you set a DataProvider for the WebShedule?The data provider is responsible for binding and objects in the WebScheduleInfo to tables and rows in your data store. They are WebScheduleGenericDataProvider, WebScheduleOleDbProvider, WebScheduleSqlClientProvider depending on what data base you’re using.

     

    For example add a WebScheduleGenericDataProvider control to your form and connect it to the WebScheduleInfo (through the WebScheduleInfoId property). Then just add the ID of the DataSources for the Activities,Resources and Variances (for ex. Set the ActivityDataSourceId to the Id of your DataSource). Here you also need to set the Bindings for each one of the data sources for example for the Activities set:

    <AppointmentBinding DataKeyMember="ID">

     

    For more information please refer to:

    Data Providers:http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebSchedule_Data_Providers.html

    Sample with binding GDProvider with AcessDataBase: http://samples.infragistics.com/aspnet/Samples/WebSchedule/Data/BindGDProviderToAccessDS/Default.aspx?cn=schedule&sid=d44c7742-cc41-4093-a935-89a43661d479

     

    Let me know if you have any further questions or concerns regarding this or if you need further assistance.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://www.infragistics.com/support