Asp.net time management recommendations

Can anyone recommend a Time Input control for asp.net web application?

It should be able to handle the following elements.

  • Am / pm
  • 24 hours
  • client side validation
  • completion of the client part (if you start the hour with 3, and then move on for a minute)
  • one text field (not separate text fields for hours and minutes or drop-down lists)
  • ability to actually enter time, not just choose it
  • hint text with time separator ":"

Other features that would be nice

  • Possibility to increase hours or minutes with arrows
  • No need to rewrite after postback

Thank you in advance for your help and suggestions!

+3
4


   <asp:TextBox ID="txtStartTime" runat="server" Text='<%# Bind("StartTime", "{0:t}") %>'
                                        Width="60px"></asp:TextBox>
                                    <asp:Label ID="lblStartTimeEdit" runat="server" Text="Press 'A' or 'P' to switch AM/PM"></asp:Label>

                                    <cc1:MaskedEditExtender ID="meeStartTime" runat="server" AcceptAMPM="true" MaskType="Time"
                                        Mask="99:99" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
                                        ErrorTooltipEnabled="true" UserTimeFormat="None" TargetControlID="txtStartTime"
                                        InputDirection="LeftToRight" AcceptNegative="Left">
                                    </cc1:MaskedEditExtender>
                                    <cc1:MaskedEditValidator ID="mevStartTime" runat="server" ControlExtender="meeStartTime"
                                        ControlToValidate="txtStartTime" IsValidEmpty="False" EmptyValueMessage="Time is required "
                                        InvalidValueMessage="Time is invalid" Display="Dynamic" EmptyValueBlurredText="Time is required "
                                        InvalidValueBlurredMessage="Invalid Time" ValidationGroup="MKE" />
+3

jquery control

"" . datepicker, .

0

Just follow the link: http://www.obout.com/calendar/calendar_datetimepicker.aspx "

and your problem will be solved in a few seconds

0
source

You can use Telerik RadTimePicker

0
source

Source: https://habr.com/ru/post/1710656/


All Articles