Hai ,
I have Radgrid with 4 columns all are Radnumberictextboxes with onload , onfocus and onblur event handler in it . I tried to retain focus on the second textbox in onblur event of the radnumeric text box becasue of invalid input by user using the following code .
<script type="text/javascript" language="javascript" >
Function Blur(sender, args) {
var input_value = sender.GetValue() ;
if ( input_value any condition ) {
var senderid = sender.get_id();
document.getElementById(senderid).focus();
}
}
</script>
I get the following error when I debug in IE .
htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
How do i retain focus using clientside script ?
Thank you .
I have Radgrid with 4 columns all are Radnumberictextboxes with onload , onfocus and onblur event handler in it . I tried to retain focus on the second textbox in onblur event of the radnumeric text box becasue of invalid input by user using the following code .
<script type="text/javascript" language="javascript" >
Function Blur(sender, args) {
var input_value = sender.GetValue() ;
if ( input_value any condition ) {
var senderid = sender.get_id();
document.getElementById(senderid).focus();
}
}
</script>
I get the following error when I debug in IE .
htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
How do i retain focus using clientside script ?
Thank you .