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

[Solved] DataStartField and DataEndField

2 Answers 93 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
datisgod
Top achievements
Rank 1
datisgod asked on 09 Oct 2007, 07:32 AM

in my database i have two fields 'date_from' and 'date_to' . 'date_from' value is : '11/11/2007 12:00:00 AM' , 'date_to' is : 11/12/2007 3:00:00 PM'. when i view scheduler in 11/12/2007, the appointment is displayed from 12:00 AM to 2:00 PM not  'from 12:00 AM to 3:00 PM' , help me pls? thanks

This is my code


private void loadData(int ResourceID) {

 


RSFilm.DataSource = RegistrationDB.GetWithStatusAndResource("A", ResourceID);

RSFilm.DataStartField = "Date_From";

RSFilm.DataEndField = "Date_To";

RSFilm.DataKeyField = "Registration_ID";

RSFilm.DataSubjectField = "Film_Title";

RSFilm.DataBind();

 }

2 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 09 Oct 2007, 07:54 AM
Hello Dao,

Thank you for your interest in RadScheduler.
Does this happen when you insert the appointment through the RadScheduler itself?

Kind regards,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
datisgod
Top achievements
Rank 1
answered on 09 Oct 2007, 08:23 AM
yes, loaddata() function, i writed to get data from database. RSFilm is Radscheduler
Tags
Scheduler
Asked by
datisgod
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
datisgod
Top achievements
Rank 1
Share this question
or