This is a migrated thread and some comments may be shown as answers.

RadTimePicker not firing OnBlur event

4 Answers 122 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Amendra
Top achievements
Rank 1
Amendra asked on 24 Feb 2009, 07:08 AM
Hi,

I am using the RadTimePicker and casuing to fire onblur event for javascript as below. I tried others like onkeypress and they are ok.

                                                <telerik:RadTimePicker ID="footerRadInsStartTime" runat="server" onblur="methodname">
                                                </telerik:RadTimePicker>

It does not seem to be firing the event. Any idea how I can make this happen.

Thanks
Amendra



4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Feb 2009, 07:46 AM
Hi Amendra,

Try setting the onBlur client event for the DateInput and see whether it is working.

ASPX:
 
 
<telerik:RadTimePicker ID="RadTimePicker1"  runat="server"
        <DateInput ClientEvents-OnBlur="OnBlur" ></DateInput
        </telerik:RadTimePicker> 


JS:
 
<script type="text/javascript"  >
function OnBlur() 
 { 
  alert('Hi') 
 } 
  
 
</script> 


Thanks
Shinu
0
Daniel
Telerik team
answered on 24 Feb 2009, 08:38 AM
Hello Amendra,

I recommend you examine our documentation and online demos:

documentation:
RadInput OnBlur
RadInput Client-Side Events
RadCalendar Client-Side Events
RadDatePicker, RadTimePicker, and RadDateTimePicker Structure

online demo:
API and events

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Amendra
Top achievements
Rank 1
answered on 24 Feb 2009, 11:23 PM
I did onblur on date input it didnt work still.
0
Amendra
Top achievements
Rank 1
answered on 25 Feb 2009, 03:28 AM
For some funny reason it is working now... I guess I didn't do it right the first time.
Tags
Calendar
Asked by
Amendra
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Daniel
Telerik team
Amendra
Top achievements
Rank 1
Share this question
or