Hello Shaun Peet,
You can achieve the desired functionality like this:
<script type="text/javascript"> |
function pageLoad() |
{ |
|
window.setTimeout(function() |
{ |
// override the default logic in order not to close the timeview |
// when clicking outside the timepicker |
Telerik.Web.UI.Calendar.Popup.prototype.ShouldHide = function(){return false;}; |
|
// open the timeview on load |
$find("RadTimePicker1").ShowTimePopup(); |
}, 0); |
} |
|
// cancel closing on time selection through the timeview |
function OnPopupClosing(sender, args) |
{ |
args.set_cancel(true); |
} |
</script> |
|
<telerik:RadTimePicker ID="RadTimePicker1" runat="server"> |
<ClientEvents OnPopupClosing="OnPopupClosing" /> |
</telerik:RadTimePicker> |
All the best,
Manuel
the Telerik team