i'm trying to use this control to check a time (HH:MM) a user inserts...
This is what i'm using but not working
<telerik:RadTextBox ID="txtEstimation" runat="server">
</telerik:RadTextBox>
<telerik:RadInputManager ID="RadInputManager1" runat="server">
<telerik:RegExpTextBoxSetting EmptyMessage="EmptyMessage" ValidationExpression="(([01][0-9])|(2[0-3])):[0-5][0-9]"
ErrorMessage="*">
<TargetControls>
<telerik:TargetInput ControlID="txtEstimation" />
</TargetControls>
</telerik:RegExpTextBoxSetting>
</telerik:RadInputManager>
I was inspired by this : http://www.telerik.com/help/aspnet-ajax/input-inputmanager-basics.html Thanks in advance for your help
The purpose of the RadInputManager is to convert standard controls to RadControls at runtime. Therefore, you should either have the
RadInputManager
OR theRadTextBox
, but you don't need both.You can achieve the HH:MM functionality you want with either way you choose. For example:
http://www.telerik.com/help/aspnet-ajax/input-textbox-limiting-allowable-values.html