Telerik Telerik
The Telerik Blogs

Codeless Data binding in RadScheduler for WinForms Q2 2009

Tuesday, June 09, 2009 by WinForms Team | Comments 5
I am happy to share that RadScheduler for WinForms gets some cool new improvements for Q2 2009. Our Roadmap does not reveal much, but here is a quick preview of what we have been working on.
 
When we started developing the Telerik WinForms scheduler we knew that we could make the data binding process much simpler than the ongoing implementation. Not that this is hard to do currently, no. We simply had some ideas how to make it better, and even codeless, so that you do not have to spend much time on this task. In the new version you will be able to bind RadScheduler to a data source with just a few mouse clicks, and without any code.
 
We have added a new Data Source property in Scheduler’s ActionList, which you can use to specify the SchedulerBindingDataSource component which will be used as a data source in RadScheduler.
 

 
The SchedulerBindingDataSource smart tag shows two types of provider properties, which can be used for setting the data sources for the Appointments and the Resources (EventProvider and ResourceProvider).
 
 
 

By using the ActionList you can quickly specify the DataSource and DataMember properties, and then all you need to do is edit the mappings between the objects used in RadScheduler and your data source objects. This is also done without code by using our own RadControls for WinForms directly in Visual Studio.
 
Clicking on the “Edit Appointment Mapping” will open the Appointment Mapping Dialog, which will be populated automatically from your data source with the necessary values:
 

 
 

The same is true for the “Edit Resource Mapping” dialog for editing ResourceMappingInfo:
 

 

Neat, right?

5 Comments

  • Brian Turner 10 Jun
    Is there any plan to include sceduler resource types and grouping in the Q2 release.
    We began work on a WinForms version of an ASP.NET application we had created. Only to relaise that the WinForms version did not support resourcetypes and grouping.
    Our ASP.NET has a set of rooms as a resource, we then group the scheduler view by these rooms so that it is easy to see times available in each individual room.
    Currently we can see no way of doing this with the WinForms version.
    Will we be able to do this with Q2?
    Or if we can do it now but are not seeing it perhaps you could provide a pointer..?

    Regards
    Brian
  • Yordan 10 Jun
    Hello Brian,

    We were planning to add this feature in the Q3 2009 release of RadControls for WinForms (a preview may be available earlier). And as much as we would want to, we will not have time to prepare this feature for the Q2 2009 release. Any suggestions that you may have for this feature are very welcome.
  • Telerik User 28 Jun
    u r Rocking Really....


    Awesome features...


    Thankyou very much

    Telerik User
  • Bogdan 06 Dec
    How would you do the binding and the mapping specification WITH code?
    I'm asking because in my scenario, the data that the scheduler needs to load is dependent on the user that is logged in.
    So I have a dataset which has a Select method with parameters which are only passed at runtime because that's when I have the UserContactID and other params available.
    In conclsion I need to be able to specify the DataSource and the mappings at runtime, after the user has logged in, when the Scheduler form loads. 
    Thank you.
  • Ivan 08 Dec
    Hi Bogdan,
    You can find how to do this in this help article. If you are still experiencing difficulties, you can contact us via a support ticket. We will be glad to assist you.

Add comment

  1. Formatting options
       
     
     
     
     
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)