Edit Appointment How to store data in a database table

16 posts, 0 answers
  1. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 06 Apr 2010 Link to this post

    Edit Appointment  How to store data in a database table

  2. JJ
    JJ avatar
    9 posts
    Member since:
    Mar 2010

    Posted 06 Apr 2010 Link to this post

    Hey Yin

    I am also new to the forum and I have looked at the following links to get started.

    1. http://www.telerik.com/help/winforms/binding_to_custom_fields.html
    2. Read blog post about custom fields to the edit form
    3. Read blog post about data binding

    Let me know if you have any other problem. Thanks.
    JJ

  3. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 07 Apr 2010 Link to this post

    hi JJ

          
    I told my method as you do, you can not store the data to the database table, radScheduler he did not show up database data, what is the problem.
    You can put your e-mail for me?

    Thank you

    David
  4. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 07 Apr 2010 Link to this post

    Hello yin tong,

    Thank you for contacting us.

    Could you provide more details on your setup/scenario in order to help you? Which fields in the appointment dialog do you want stored in the data base? What have you tried - can you send us some code?
     

    Sincerely yours,
    Dobry Zranchev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 07 Apr 2010 Link to this post

    Hello Zranchev Dobry

    I want to know how to use RadScheduler querying data and display

      SchedulerBindingDataSource dataSource = new SchedulerBindingDataSource();
    AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo();

     

    thank
    David

  6. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 12 Apr 2010 Link to this post

    Hello yin tong,

    We have a demo with full source code in C# and VB .NET in our Examples project (it comes with the installation). Please take a look at the Data Binding example of RadScheduler. I think that it will help you a lot, as it demonstrates the following: 

        2.1  How to bind the RadScheduler control to business objects.
        2.2. How to bind the RadScheduler control to a sample data base.
        2.3. How to create custom appointments and use the AppointmentFactory.
        2.4. How to customize the edit appointments dialog and apply it to RadScheduler.
        2.5. How to create and apply the AppointmentMapping information.
        2.6. How to manually update your data base, after you have made any modifications in your scheduler.

    In addition, I would suggest that you look into the topics of RadScheduler in our online documentation.
    Please refer to the following link to start with: http://www.telerik.com/help/winforms/declarative_databinding.html

    If you need more information, we will be happy to help you.

    Best wishes,
    Boyko Markov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 12 Apr 2010 Link to this post

    Hi  Zranchev Dobry
    How to use  Edit Appointment Dynamically added to the database, how to achieve specific?
    You can put your email address for me? Or MSN

    thank
    David,
  8. JJ
    JJ avatar
    9 posts
    Member since:
    Mar 2010

    Posted 13 Apr 2010 Link to this post

    Hi David

    can you please describe what exactly you are trying to do and what have you done to achieve it by providing some sample code, so I can point you in the right direction. Thanks
    JJ
  9. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 13 Apr 2010 Link to this post

    HI JJ

        I would like to use this radScheduler under control Edit Appointment  Data

    Thank you

    David
  10. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 13 Apr 2010 Link to this post

    HI JJ

        Could you please tell me this "Edit Appointment" how to bound to the database table.  I want to add it to my database dynamically.


    Thank you

    David

  11. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 13 Apr 2010 Link to this post

    HI JJ
    My problem is, in the Edit Appointment screen, after I entering all the information ie. Subject, Start time, End time, etc.  and then I click OK, it goes back to the week view, however, if I close the week view window, all the data I entered in the Edit Appointment screen is lost, it didn't get save to the database table.  So, I would like to know, how can I save the data from the Edit Appointment
    Thank you

    David

  12. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 14 Apr 2010 Link to this post

    Hi yin tong,

    You can bind the scheduler to data objects or to a database - your choice. We have sent you information how to do this in the other forum thread. If you want to update database you should:
    1. Create a class that inherit EditAppointmentDialog
    2. Override method ApplySettingsToEvent and update database in it.


    Best wishes,
    Dobry Zranchev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  13. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 14 Apr 2010 Link to this post

    HI Dobry
    Can you say it in detail? Any reference to my example code

    thank
    David,

  14. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 15 Apr 2010 Link to this post

    Hello yin tong,

    Please take a look in following article. It shows how to implement custom edit appointment dialog and how to override ApplySettingsToEvent.
     

    All the best,
    Dobry Zranchev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  15. yin tong
    yin tong avatar
    10 posts
    Member since:
    Mar 2010

    Posted 15 Apr 2010 Link to this post

    HI Dobry
    I want to know how to do Edit Appointment database bounding.  I followed your method to do but it is still not working.  Could you give me an example for that?  Thanks a lot.

    Thanks
     David


  16. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 19 Apr 2010 Link to this post

    Hi yin tong,

    We will be happy to help you. Please send us more information on how far you have gotten, what dud you do, are you getting any exceptions, etc. We will also appreciate it if tell us what you can not implement in your sample.
     

    All the best,
    Dobry Zranchev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top