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

How to bind/delete/insert data in radscheduler with multi tier architecture?

3 Answers 112 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chan
Top achievements
Rank 1
Chan asked on 13 Dec 2011, 07:47 AM
hi, i m new in telerik and c#, now i m trying to learn multi tier architecture with telerik tools...
i try to did some research to find some tutorial but it was not useful...like if i want to bind to radscheduler fields, is it write like something "RadScheduler.DataKeyField = "id"" or "RadScheduler.DataBind();" in the default c# UI page? And the select data connectionstring is write on business logic page right? if have any tutorial or any sample can help me pls give me a link, thx...    

3 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 14 Dec 2011, 10:55 AM
Hi Chan,

To learn about the RadScheduler's  binding to a data source,  you could refer to the Data Binding section of the RadScheduler's online documentation. You could also take a look at the data providers which are listed and explained in details in the same section. The Populating With Data online demos could also help to see the difference between the data sources in action.

The following Code Library example might be of help, too; it is a runnable sample project showing how to bind the RadScheduler to a SqlDataSource: RadScheduler and SqlDataSource example.


Regards, Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Chan
Top achievements
Rank 1
answered on 14 Dec 2011, 11:09 AM
Sorry, this is not what i m looking for...i m not looking binding sql data with the Data Source Configuration Wizard, i m confusing in the how multi tier architecture work with telerik radscheduler, for example, if i create a DataLayer and Business Logic in my project, how to make them bind the data in the radscheduler key fields?  i try to used this code:

 

 

DataSet dsAppointment = new DataSet();

 


RadScheduler1.DataSource = dsAppointment;

RadScheduler1.DataKeyField =

 

"Appt_ID";

 

RadScheduler1.DataSubjectField =

 

"Appt_Subject";

 

RadScheduler1.DataStartField =

 

"Start";

 

RadScheduler1.DataEndField =

 

"End";

 

RadScheduler1.DataBind();

in the defaultUI C# is no work n show error, what m i missing or misunderstanding?Thx.

0
Peter
Telerik team
answered on 14 Dec 2011, 11:20 AM
Hi Chan,

Probably, the following demo will help you find an answer to your uesions -
http://demos.telerik.com/aspnet-ajax/scheduler/examples/bindtolist/defaultcs.aspx.

You can also download a sample with ObjectDataSource from here.

Greetings,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Scheduler
Asked by
Chan
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Chan
Top achievements
Rank 1
Peter
Telerik team
Share this question
or