This is a migrated thread and some comments may be shown as answers.

Edit Appointment How to store data in a database table

15 Answers 234 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
yin tong
Top achievements
Rank 1
yin tong asked on 06 Apr 2010, 07:16 AM
Edit Appointment  How to store data in a database table

15 Answers, 1 is accepted

Sort by
0
JJ
Top achievements
Rank 1
answered on 06 Apr 2010, 10:59 PM
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

0
yin tong
Top achievements
Rank 1
answered on 07 Apr 2010, 06:27 AM
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
0
Dobry Zranchev
Telerik team
answered on 07 Apr 2010, 09:41 AM
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.
0
yin tong
Top achievements
Rank 1
answered on 07 Apr 2010, 10:08 AM

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

0
Boyko Markov
Telerik team
answered on 12 Apr 2010, 02:53 PM
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.
0
yin tong
Top achievements
Rank 1
answered on 13 Apr 2010, 02:41 AM
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,
0
JJ
Top achievements
Rank 1
answered on 13 Apr 2010, 07:28 AM
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
0
yin tong
Top achievements
Rank 1
answered on 13 Apr 2010, 08:17 AM
HI JJ

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

Thank you

David
0
yin tong
Top achievements
Rank 1
answered on 14 Apr 2010, 02:50 AM

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

0
yin tong
Top achievements
Rank 1
answered on 14 Apr 2010, 03:16 AM
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

0
Dobry Zranchev
Telerik team
answered on 14 Apr 2010, 02:24 PM
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.
0
yin tong
Top achievements
Rank 1
answered on 15 Apr 2010, 03:06 AM

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

thank
David,

0
Dobry Zranchev
Telerik team
answered on 15 Apr 2010, 04:37 PM
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.
0
yin tong
Top achievements
Rank 1
answered on 16 Apr 2010, 03:47 AM
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


0
Dobry Zranchev
Telerik team
answered on 19 Apr 2010, 04:19 PM
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.
Tags
Scheduler and Reminder
Asked by
yin tong
Top achievements
Rank 1
Answers by
JJ
Top achievements
Rank 1
yin tong
Top achievements
Rank 1
Dobry Zranchev
Telerik team
Boyko Markov
Telerik team
Share this question
or