How do create year picker ASP.NET MVC

Posted by: nvd.bka on 20 July 2020, 6:41 pm EST

  • Posted 20 July 2020, 6:41 pm EST

    Hi !

    I using C1 in ASP.NET MVC. When I using InputDate.

    I have 2 choose : DateSelectionMode.Month & DateSelectionMode.Day

    But I need to year picker as picture bellow :

    please help me to do it.

    Many thanks !
  • Replied 21 July 2020, 9:02 pm EST

    For this we need to set the selectionMode to Month and handle the isDroppedDownChanged event and call click() method to open year picker.
    Please refer to the following fiddle demo sample for reference:

    Manish Gupta
Need extra support?

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

Learn More

Forum Channels