Hey there!
I wanted to ask if there's a way to visualise, the data from a specific RadGanttView, in a Timeline like the this:
Thank you.
Hi,
I used example : https://docs.telerik.com/devtools/winforms/controls/ganttview/working-with-data/data-binding-basics
and added a column "Resource", it will help a lot if you can give me an example where every resource can have its OWN fill color to identify them quickly.
Thank you very much
Kobus
Hello
How to get the IdOperacao value from selected row?
Best Regards,
Marco Gaspar
Helo, i'll go straight to the point
************** ERROR START **************
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
at Telerik.WinControls.ComponentInputBehavior.ElementUnderMouseMonitorTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** ERROR END **************
I get the error when i subscribe to the event 'GraphicalViewItemFormatting'.
Example: THIS-OBJECT:radGanttView1:GraphicalViewItemFormatting:Subscribe(THIS-OBJECT:radGanttView1_GraphicalViewItemFormatting).
I can replicate the error by moving the mouse really fast (from the text element to the graphic element over and over again). If i unsubscribe then everything works just fine. This error is faster to replicate if there's more objects in the RadGanttView in question.
This error doesn't seem to exist anywhere BUT in Progress. I had this problem with the "RadGridView" but i managed to go around it. Something i wasn't able to do in this object.
My goal is to change the items/tasks colors but aparently that isn't something that can be done OUTSIDE of an event...
I talked to my colleagues and the ones with years of experience said it's probably on the DLL side. They said a 'Collection' is being modified at the wrong time and it's not in my control.
Does anyone know how to go around this? How I may change the items colors without using this event? Maybe a way to disable highlights and animations on the object to prevent said 'Collection' from being modified?
Thank you.
JP
Update1: Aparently this also happens to the 'TextViewItemFormatting' event. If i comment both subscribes everything goes perfect.
Is it possible to control only the end of task.
I mean if I don't want the user to modify the start but let him modify the end, is it possible ?
For now I'm just able to set to readOnly the entire task and I want to get control when I let the user modify the task (and which part)
Gerald
Thx
Private Sub RadGanttView1_ControlAdded(sender As Object, e As ControlEventArgs) Handles RadGanttView1.ControlAdded
Dim startDate As Date = RadGanttView1.SelectedItem.Start
e.Control.ResetText()
e.Control.Text = startDate.ToShortDateString
End Sub
How can I change the date input format to Short?
Regards
Hi,
I'm looking for a way to forbid resizing a task but allow users to move them to another time.
If found issues about blocking events (https://www.telerik.com/forums/how-to-disable-edit-add-new-delete-items), but it implies to "cancelstart" on the dragDropService.
I can't find an event that gives me enough information to choose between "allow" and "cancel" modification if its "move" or "resize"
ps: I had to remove packages of the solution so it respects the 20MB limit, hope that won't cause any trouble.
Thanks for your time and help.
Simon.
Hi Telerik team
I just use the radganttview replacing our old GanttOCX. I have a question about links between tasks. We don't want to use links.
Is it possible that links are invisible in the GanttViewGraphicalviewElement ?
Thanks in advance for your answer.
Hi Telerik,
I am using Timelinerange =Timerange.Month. This is perfect.
But how can i show the dayname under the date? Also i would like to skip the weekend in the timeline. Is this possible?
Regards,
Karsten Wendt
Hello,
Is there a control that allows us to make this type of diagram? I attach images.
Changes in the diagram are reflected in the grid below and vice versa.
Please let us know if you need more information.
Thanks.