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

populating a readonly Schedule view from WCF sql database

9 Answers 169 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 17 Nov 2010, 08:10 PM
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

9 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 22 Nov 2010, 03:21 PM
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
0
Rick Mueller
Top achievements
Rank 1
answered on 23 Nov 2010, 07:18 PM
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
0
George
Telerik team
answered on 26 Nov 2010, 04:21 PM
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
0
Troy Goddu
Top achievements
Rank 1
answered on 02 Dec 2010, 07:43 PM
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

0
George
Telerik team
answered on 03 Dec 2010, 04:58 PM
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
0
Rick Mueller
Top achievements
Rank 1
answered on 06 Dec 2010, 06:08 PM
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
0
Rosi
Telerik team
answered on 08 Dec 2010, 04:42 PM
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
0
bob
Top achievements
Rank 1
answered on 26 Nov 2011, 04:42 PM
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...
0
Rosi
Telerik team
answered on 30 Nov 2011, 08:53 AM
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 >>

Tags
ScheduleView
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
George
Telerik team
Rick Mueller
Top achievements
Rank 1
Troy Goddu
Top achievements
Rank 1
Rosi
Telerik team
bob
Top achievements
Rank 1
Share this question
or