Declined
Last Updated: 31 Mar 2020 12:40 by ADMIN
ADMIN
Konstantin Dikov
Created on: 16 Oct 2013 11:14
Category: Calendar
Type: Feature Request
2
Improve: SetFocusOnError="True" of ASP Validators to work with RadDatePicker, RadTimePicker and RadDateTimePicker

				
		
3 comments
ADMIN
Rumen
Posted on: 31 Mar 2020 12:40

Hi there,

The focus is not set, because the input that keeps the pickers value is hidden. We decided to decline this enhancement since we do not like to introduce a breaking change in the control as well as Konstantin already provided a solution for it.

Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
German
Posted on: 30 Jan 2014 23:16
Funciona!!!! thanks
ADMIN
Konstantin Dikov
Posted on: 16 Oct 2013 11:15
Current workaround:

<script type="text/javascript">
	var _ValidatorSetFocus = ValidatorSetFocus;

	ValidatorSetFocus = function ValidatorSetFocus(val, event) {
		var ctrlObj = $find(val.controltovalidate);   

		if (ctrlObj && ctrlObj._dateInput) {  
			ctrlObj._dateInput.focus();  
			Page_InvalidControlToBeFocused = ctrlObj._dateInput.get_element(); 
			return;  
		}  

		_ValidatorSetFocus(val, event);
	};
</script>