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

start time and endtime

8 Answers 158 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Rajshree
Top achievements
Rank 1
Rajshree asked on 12 May 2015, 03:13 AM

i am having serious issue.

when a user tries to modify the dates, they have to first modify the End Date so it falls after the Start Datet, otherwise if they try and modify the Start Date, and it is after the current date, a warning message will display and they cannot modify the Start Date until the End Date is modified to be after the Start Date. To work around this a user must enter the End Date first and then they can modify the Start Date. When this is done, after the both the End and Start Dates are entered, the End Date changes to some arbitrary date and the End Date has to be reentered.

 

please help. how can i fix it.

8 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 14 May 2015, 01:37 PM
Hello,

I would ask you to provide more details on your scenario so we can try to reproduce it correctly:
  • Do you experience this behavior in your project only or it is reproducible in our live demos as well?
  • Are you trying to modify the dates of an existing task or you are noticing the issue when adding a new one?
  • Could you please describe an exemplary scenario with default Start/End dates and the dates you are trying to set and the resulting arbitrary End Date?

Regards,
Ivan Danchev
Telerik
0
Rajshree
Top achievements
Rank 1
answered on 14 May 2015, 01:54 PM

it is reproducible in your live demos as well.

i notice this while i create new task or existing task.

for instance:-

1. as  per db table, start date and end date can not be null.

currently as i created new task. the default will be today's start date and end date.

task 1 - start date - 05/14/2015 end date - 05/14/2015

my expectation - start date - 07/01/2015 and end date -10/15/2015.

in this scenario- first i change the start date to  07/01/2015. it wont let me do it because its bigger than default end date(05/14/2015)

so i change first end date to -10/15/2015 then change start date - 07/01/2015

as soon as i change start date - 07/01/205 the end date automatically gets change to some random date 11/13/2015(something like that). so again i have to change the end date to desire one.

i just checked it in live demo. it is happening there too. please help. i need to fix it ASAP.

 

0
Ivan Danchev
Telerik team
answered on 15 May 2015, 04:13 PM
Hello,

Here's a short video of what I am seeing when setting the dates. When trying to set a Start Date that is after the End Date RadGantt displays a message, which is expected as this is the controls default behavior. However, after first setting the End Date and then the Start Date both are correctly accepted and the End Date is not changed to a random Date.

If you can reproduce the issue in our demos could you please record a similar video and post a link to it? I used Jing to record mine.

Regards,
Ivan Danchev
Telerik
0
Rajshree
Top achievements
Rank 1
answered on 19 May 2015, 08:23 PM

Ivan,

if you see below video. i have changed the endtime to -6/30/2015 and then change the start time - 6/15/2015. it changed the endtime automatically to 7/14/2015.

http://screencast.com/t/KHdOlLko

 

0
Rajshree
Top achievements
Rank 1
answered on 19 May 2015, 08:24 PM
0
Ivan Danchev
Telerik team
answered on 20 May 2015, 02:49 PM
Hello,

Thank you for providing a video.

Let me use your example to explain this RadGantt behavior:
1. When you set the Start Date to 01.06.2014 and the End Date to 30.06.2014 you have created a Task that spans 30 days. Start Date determines when the Task starts and End Date determines not when the Task ends, but how many days it spans, in other words by setting the Start and End day you say its starts on 01.06.2014 and it will last 30 days.
2. After you have set the Task's starting date and span if you set a new Start Date you are changing only the starting date and not its span. So when you set it to 15.06.2014 it now means: the task starts on 15.06.2014 and since it lasts 30 days -> End Date automatically changes to reflect that change and the new End Date now is 14.07.2014.

This RadGantt feature makes easier moving your Tasks in time by changing only the Start Date, since changing the Star Date does not change the Task's duration. 

Regards,
Ivan Danchev
Telerik
0
Rajshree
Top achievements
Rank 1
answered on 21 May 2015, 04:16 PM

Thank you Ivan for this detail.

now, in this scenario is it possible to keep start date and end date empty while i create the task first time.? i checked it in MS project and it has same way to enter the start time and end time.

0
Ivan Danchev
Telerik team
answered on 26 May 2015, 06:59 AM
Hello,

Before editing a Task's Start and End dates you have to add it and adding a task makes it appear in the Timeline View. In order for it to appear correctly (Start Date and duration) it has to have Start and End dates set, a Task without those cannot be displayed.

Regards,
Ivan Danchev
Telerik
Tags
Gantt
Asked by
Rajshree
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Rajshree
Top achievements
Rank 1
Share this question
or