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
420
BindingContextControl of ultraCalendarInfo
posted

Hi i have tried to use your calendarinfo and ultratimelineview and when i use the designer ... he always throw me this exception "In current data source there is no column named: Id"

I have a Id in my databinding class

public class Person
    {
      public string Name { get; set; }
      public int Id { get; set; }
    }

this.ultraCalendarInfo1.DataBindingsForAppointments.BindingContextControl = this;
      this.ultraCalendarInfo1.DataBindingsForOwners.BindingContextControl = this;
     this.ultraCalendarInfo1.DataBindingsForOwners.DataSource = this.personBindingSource;
      this.ultraCalendarInfo1.DataBindingsForOwners.KeyMember = "Id";
      this.ultraCalendarInfo1.DataBindingsForOwners.NameMember = "Name";

  • 71886
    Offline posted

    Hello pmorin,

    I am not able to understand what is happening exactly from this piece of code. Where is this code? Are you sure that you have this 'DataSource' initialized at the moment of binding?

    Could you please try to attach, if possible, a small sample project, reproducing the above mentioned issue, I will be happy to take a look at it?