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

		
4 comments
ADMIN
Peter Milchev
Posted on: 15 Oct 2020 15:12

Hello all,

The same issue is replicated in other Telerik controls as well so we decided to review the scenario again and make improvements for seamless integration between the Telerik controls and the SetFocusOnError functionality.

Regards,
Peter Milchev
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

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>