Problem with saving appointment in radscheduler

5 posts, 0 answers
  1. pulkit jain
    pulkit jain avatar
    11 posts
    Member since:
    Apr 2010

    Posted 23 Aug 2010 Link to this post

    Hello All

    I am trying to use your sample database and i have binded your sample database with scheduler,whenever i tried to save the appointment this error come

    Unable to cast object of type 'System.Guid' to type 'System.IConvertible'.Couldn't store <995f3481-b5a0-4435-82ec-137fb699b43b> in ID Column.  Expected type is Int32.

    Please guide me to find the solution.

    Thanks & regards
    Pulkit
  2. Nicu Olaru
    Nicu Olaru avatar
    3 posts
    Member since:
    Apr 2010

    Posted 24 Aug 2010 Link to this post

    You can read about "The ID field is not a Guid, or is not read only in the Data base" in  this page: mapping
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 26 Aug 2010 Link to this post

    Hello guys,

    Nicu, thank you for your suggestion. Pulkit, please verify that the help article for RadScheduler mapping, pointed out by Nicu Olaru, was helpful for you. Please write us back if you have a more specific scenario and experience some other difficulties.

    Best wishes,
    Alexander
    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. pulkit jain
    pulkit jain avatar
    11 posts
    Member since:
    Apr 2010

    Posted 04 Sep 2010 Link to this post

    Hello aexendar

    I have already done this but i am having the same problem.
    Please for me can you build the sample project demonstarting this thing.
    It will be of great help.

    Thanks & regards
    Pulkit
  6. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 08 Sep 2010 Link to this post

    Hello pulkit jain,

    Thank you for writing back. It look likes that you are trying to bind to a MSAccess database.
     
    There is an issue when the VS creates a data table in the dataset. Please take a look at the available documentation. The important thing is that RadScheduler uses GUID for ID by default. If you do not set the ReadOnly property of the ID field in the data table with appointments, then you should to take care of the conversion from GUID to int in order to store the values in the database.

    I hope that this will help you.

    Greetings,
    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
UI for WinForms is Visual Studio 2017 Ready