Binding with business objects - Getting Changes

5 posts, 1 answers
  1. john
    john avatar
    3 posts
    Member since:
    Dec 2010

    Posted 14 Dec 2010 Link to this post

    Hi,

    I have succeeded in creating my own custom appointments, binded with a list of business object. Now, I would like to make a button on top of the screen to allow the user to save all his changes once he finishes assigning and arranging all of his appointments.

    Is there a method similar to the GetChanges of the normal windows data binding? I am using the SchedulerBindingDataSource to bind the Scheduler with my list. 

    Thanks in advance for your help.

    Regards.
    John
  2. john
    john avatar
    3 posts
    Member since:
    Dec 2010

    Posted 17 Dec 2010 Link to this post

    Hi,

    Can anyone help me pls as this is urgent?

    Thanks and Regards,
    John
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 17 Dec 2010 Link to this post

    Hi John,

    The SchedulerBindingDataSource doesn't have a GetChanges. You'd need to find those changes yourself based on the changes made. Even though it is using a DB and not an object collection, there is a blog link here on saving changes to a db whcih may help. However, you don't have to bind to a SchedulerBindingDataSource. You can also bind directly to a binding list which is detailed in the documentation here

    hope that helps
    Richard
  5. john
    john avatar
    3 posts
    Member since:
    Dec 2010

    Posted 18 Dec 2010 Link to this post

    Hi Richard,

    Thanks for your reply. It's a pity this option is not available as I think it's useful in certain situation.

    Regards,
    John
  6. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 20 Dec 2010 Link to this post

    Hi john,

    Thank you for the question.

    Currently, we do not plan to implement a method which returns the changes applied to the data contained in RadScheduler. What we do is fire an event for each property change that occurs.
     
    Richard, thank you for your cooperation.

    Greetings,
    Dobry Zranchev
    the Telerik team
    Check out the Q1 2011 Roadmap for Telerik Controls for Windows Forms.
Back to Top
UI for WinForms is Visual Studio 2017 Ready