GTP.NET FAQ 10904
I want to allow a user to move a timeitem between rows, but not to change the time Please note that this article refers to the GTP.NET
I?m using the gantt control with ASP.NET. I want to allow a user to move a timeitem between rows, but not to change the time ? just move it to another row at the same time as it was before being moved. Is there a way to do this?
I think if the OnClientSideChangesApplied event returned a TimeItemEventsArg instead of just a plain event, it would be more helpful.
Actually you can do this in Gantt_ASP just the same way you would do it in windows forms:
In the pageLoad add this:
Gantt_ASP1.Gantt.OnTimeItem_Move +=new TimeItemEvent(Gantt_OnTimeItem_Move);
and then implement the event like this:
void Gantt_OnTimeItem_Move(Gantt aGantt, TimeItemEventArgs e)
You will need version 220.127.116.11 and above to get this to work smoothly
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%"
|(C) 1999-2010 PlexityHide.com
Grastensvagen 24, S-163 45 Spanga Sweden