Hello,
I have a RADCombobox which holds list of years with checkboxes for multiple year selection.
the year starts with 2011 and and it increments by 1 till the current year. Means ComboBox will hold the values like 2011,2012,2013.
Here I need to validate the selection at client side. Requirement is, user can select a single value or two values. If the selection is more than one then the selection should be consecutive.
Eg: user can select 2011 & 2012 but not 2011 & 2013, the difference should be one.
Please help me with java script for this.
I have a RADCombobox which holds list of years with checkboxes for multiple year selection.
the year starts with 2011 and and it increments by 1 till the current year. Means ComboBox will hold the values like 2011,2012,2013.
Here I need to validate the selection at client side. Requirement is, user can select a single value or two values. If the selection is more than one then the selection should be consecutive.
Eg: user can select 2011 & 2012 but not 2011 & 2013, the difference should be one.
Please help me with java script for this.