populating a readonly Schedule view from WCF sql database

10 posts, 0 answers
  1. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 17 Nov 2010 Link to this post

    Hello, 

    I have a database(Sql). I want to upload the data from table which as Start date and finish date etc.

    I'm usung wcf for the data layer.

    Thoughts?
    Rick
  2. George
    Admin
    George avatar
    1332 posts

    Posted 22 Nov 2010 Link to this post

    Hello Rick,

    Could you please share with us some more information about this scenario? What is your data model? What tables do you have?
    I will be glad to assist you further.  

    Greetings,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 23 Nov 2010 Link to this post

    Hello
    Sorry I haven't got back to you..

    I'm using WCF/RIA services to pull data from Sql server etc.

    I have table that populates this way:

    Employee
    Product_Name
    Kill_Date---(expired date)
    Added_Date -(production date)
    Station

    What happens when the user creates the product and prints it loads tht data in the table.

    I would like to populate the Schedview (read only) with a timeline when the product was made and when it expires.
    and group it by employee or station.

    thoughts

    Rick
  5. George
    Admin
    George avatar
    1332 posts

    Posted 26 Nov 2010 Link to this post

    Hello Rick,

    I have an example with binding the RadScheduleView to the Entity Framework. Attached you can find the sample. I hope this helps.
    In order to make the RadScheduleView readonly, you could cancel ShowDialog, AppointmentEditing, AppointmentCreating and AppointmentDeleting events.

    Please do not hesitate to contact us if you require any further information.


    Best wishes,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  6. Troy Goddu
    Troy Goddu avatar
    11 posts
    Member since:
    Dec 2009

    Posted 02 Dec 2010 Link to this post

    George, I have a similar task, only with WPF radgridview.  I am using a MySQL database accessed with Entity Framework.   Currently I am not using MVVM.   I have four tabs in my UI window.  Each tab contains a grid which I would like to bind to a separate table in the EF tables so that the user can move from table to table by clicking tabs.
    I have not been able to get the sample to compile.  I think my radScheduler is a different version (I have the WPF product V2010 2.714 40).  I have several compile errors due to missing assemblies, etc.

    Would you happen to have a sample closer to my project configuration (WPF radgridview binding to EF tables)?  Thank you for any help you may be able to give.
    Sincerely,
    Richard

  7. George
    Admin
    George avatar
    1332 posts

    Posted 03 Dec 2010 Link to this post

    Hello Troy,

    This example is for our new RadScheduleView, not RadScheduler control. This Q3 we introduced the new RadScheduleView control. In order to run the example, you need to add references to:

    • Telerik.Windows.Controls
    • Telerik.Windows.Controls.Input
    • Telerik.Windows.Controls.Navigation
    • Telerik.Windows.Controls.ScheduleView
    • Telerik.Windows.Data


    All the best,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  8. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 06 Dec 2010 Link to this post

    George,

    Thank you for your help.
    I'm able to get it to work with the example you sent, but I'm still trying to group it by employee or station.

    Currently I'm manually entering data in the tables.

    Any thoughts?

    Rick
  9. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 08 Dec 2010 Link to this post

    Hi Rick Mueller,

    I suggest you review our Grouping example for more details:
    http://demos.telerik.com/wpf/?ScheduleView/Grouping/Basics

    Greetings,
    Rosi
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  10. bob
    bob avatar
    1 posts
    Member since:
    Feb 2008

    Posted 26 Nov 2011 Link to this post

    I have a similar question. can you foward examples of loading RSV.AppointmentsSource from WCF... using Silverlight4, .net4, vs2010..    ??
    <<BTW: the example last year no longer compiles; there's a missing reference to "ResourceCollection".. which apparently is in Scheduler, not ScheduleView anymore.>>

     thank you...
  11. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 30 Nov 2011 Link to this post

    Hi Bob,

    I suggest you review our online documentation for more details.

    Greetings,
    Rosi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
UI for WPF is Visual Studio 2017 Ready