Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
Set value of CustomTaskColumn to new task
posted

I have created a custom task column to my ganttview like:

   plannedMaintGantt.CalendarInfo.CustomTaskColumns.Add("Address", typeof(string), true);

Now I create new task to add this but when i try to set the value of the custom field

  'task.SetCustomProperty("Address", "Test");'

i get

     'Object reference not set to an instance of an object.'

Does anyone have any idea?