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

Timeline Resetting

1 Answer 51 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Jimmy
Top achievements
Rank 1
Jimmy asked on 10 Jul 2017, 07:21 PM

Hi, changes to the timeline are resetting after each call to initializecomponent(). For example if I make changes to the timeline, the changes are reset to the default every time I try to run the program. Specifically the timeline scale and range is being reset with each time. Any idea why this could be? Thanks.

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 11 Jul 2017, 06:45 AM
Hi Jimmy,

Thank you for writing.

The InitializeComponent method will run through your designer file and it will set all of the properties set in the Visual Studio designer. The method should be executed once in the constructor of your form.

In case you keep experiencing the issue, please provide me with more details about your scenario and how it can be reproduced.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GanttView
Asked by
Jimmy
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or