Posted 23 November 2021, 2:11 am EST
Someone’s message. Hi !
I using C1 in ASP.NET MVC. When I using InputDate.
I have 2 choose : DateSelectionMode.Month & DateSelectionMode.Day
Forums Home / ComponentOne / ASP.NET MVC Edition
Posted by: sidubutt55 on 23 November 2021, 2:11 am EST
Posted 23 November 2021, 2:11 am EST
Someone’s message. Hi !
I using C1 in ASP.NET MVC. When I using InputDate.
I have 2 choose : DateSelectionMode.Month & DateSelectionMode.Day
Posted 25 November 2021, 5:59 pm EST
Hello,
Displaying only year picker in InputDate control is not possible as this is a design behavior of the control. However, as a workaround, if you wish to only render years in the dropdown list, you may use ComboBox or InputNumber control to perform the same.
Please refer to the sample below. InputControl.zip
Regards Dushyant Sharma