SelectionMode C1Calendar to SelectionSettings 2025v2 399

Posted by: enrique.pv-ext on 18 June 2026, 10:02 am EST

    • Post Options:
    • Link

    Posted 18 June 2026, 10:02 am EST

    Hi,

    Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.

    Using C1Calendar from C1.Web.Wijmo.Controls.48.dll

    Changes C1Calendar from 2010v1 to 2025v2 399 control.

    Now those properties changes:

    C1Calendar.SelectionMode = C1.Web.UI.Controls.C1Calendar.SelectionMode.Day;

    How-to use C1.Web.Wijmo.Controls.C1Calendar.SelectionSettings.Day now ?

     //Initialice date with current mounth
     C1Calendar.SelectionMode = //C1.Web.Wijmo.Controls.C1Calendar.SelectionSettings.Day; //= C1.Web.UI.Controls.C1Calendar.SelectionMode.Day;
     C1Calendar.SelectedDate = new DateTime(int.Parse(desde.Substring(0, 4)), int.Parse(desde.Substring(5, 2)), int.Parse("01"));

    any suggestion please ?

  • Posted 19 June 2026, 1:02 am EST

    Hi,

    In the latest versions of C1Calendar, the SelectionMode property provides separate Boolean properties to enable or disable the supported selection modes. You can configure them as follows:

    'these are enabled by default
    C1Calendar1.SelectionMode.Day = True
    C1Calendar1.SelectionMode.Days = True
    
    'these are disabled by default
    C1Calendar1.SelectionMode.WeekNumber = True
    C1Calendar1.SelectionMode.WeekDay = True
    C1Calendar1.SelectionMode.Month = True

    You can set these properties according to your requirements to enable or disable the corresponding selection modes.

    Best Regards,

    Kartik

  • Posted 19 June 2026, 5:07 am EST

    Whats means leagacy C1Calendar.SelectionMode = SelectionMode.Day;

    for new version ?

    the same

    C1Calendar1.SelectionMode.Day = True
    C1Calendar1.SelectionMode.Days = False
  • Posted 19 June 2026, 5:54 am EST

    Hi,

    Yes, your understanding is correct.

    Regards.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels