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

Scheduler DataBind

5 Answers 115 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
sahar
Top achievements
Rank 1
sahar asked on 14 Jan 2009, 11:00 AM
Hi
i am new to Rad Controls and i am working on RAd Scheduler i need to show multiple columns of my dataset to be shown in the

subject field of scheduler i want to bind them according to the rows of sceduler on row data bound i want to compose an string which will be binded to subject field of scheduler on row data bound of every row

can any one suggest me on this how to do this

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 14 Jan 2009, 12:01 PM
Hi sahar,

You can use the approach from this online example:
http://demos.telerik.com/aspnet-ajax/Scheduler/Examples/AdvancedFormTemplate/DefaultCS.aspx

You can download a sample project from here:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/sample-project-of-the-customizing-the-advanced-template-example.aspx


Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
sahar
Top achievements
Rank 1
answered on 15 Jan 2009, 05:39 AM
hi
Peter thanks a lot for your prompt response i will look in to it ,hopefully i will get a success :) inshALLAh.God bless you
thanks again
0
sahar
Top achievements
Rank 1
answered on 15 Jan 2009, 12:51 PM

Peter

i looked in tot he smaple project and also checked the online example

but i dont want to get data form an xml file i am doing all the bindings of a datasource at back end for scheduler as well as for a resource , how can i bind Values in a subject field if the provider is not an xml provide

im my case i am using  datatable to fill al the records and then binding this to  Scheduler

in examples it was written like

 

 

protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)

 

{

e.Appointment.Subject = e.Appointment.Subject +

": " + e.Appointment.Attributes["Description"];

 

}

in case of using datatable as source  for  binding what wud be this value  e.Appointment.Attributes["Description]

Regards

0
Peter
Telerik team
answered on 15 Jan 2009, 02:18 PM

The datasource type is irrelevant to this implementation. You can use any other datasource such as SqlDataSource or AccessDataSource with the same success. The first demo from the kb article is zipped as SchedulerCustomizeTheAdvancedFormXmlProvider.zip and it shows one instance of RadScheduler which is bound to an SqlDataSource.  The important difference between the two types of data sources is that selecting multiple resources of the same type is only possible via a custom provider

Let me know if you encounter any difficulties.

Regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
sahar
Top achievements
Rank 1
answered on 20 Jan 2009, 06:41 AM
Hi peter
the way you helped me was great , i m now getting all  the data tohrugh sql data source and can edit as well
can you please tell me how can i do this with object datasource control , i have already seen the example provided in telerik help in which data binded to object data source but all the work was sessions based i want to insert update and delete thorugh it can you provide mie some example
Tags
Scheduler
Asked by
sahar
Top achievements
Rank 1
Answers by
Peter
Telerik team
sahar
Top achievements
Rank 1
Share this question
or