New
Last Updated: 20 Jul 2015 14:14 by German
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

		
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
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>