Search code examples
c#winformsinfragistics

Not able to open a form in design mode


When i open form, i can't get into design mode and i get this error:

The variable 'MonthViewCalendar'
    (internal 
        Infragistics.Win.UltraWinSchedule.UltraMonthViewSingle 
        MonthViewCalendar;)
is either undeclared or was never assigned. 

Any idea why a form doesn't go into design mode? I am using VS 2010.

I tried - Clean solution, restarting VS and reopening, but that didn't solve my issue.


Solution

  • Go into your Form.Designer.cs file and remove the declaration for "abcd". Then reload it in your designer.