mga911
mga911

Reputation: 1546

Asp.net Time Input Control Suggestions

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

It should be able to handle the following items

Other features that would be nice

Thanks in advance for the help and suggestions!

Upvotes: 3

Views: 14974

Answers (4)

dove
dove

Reputation: 20692

Have you considered looking at a jquery control

or just put a "time" search across all the plugins. I've only used the datepicker but works very well.

Upvotes: 0

ihebiheb
ihebiheb

Reputation: 5223

You can use the Telerik RadTimePicker

Upvotes: 0

Vipul Batra
Vipul Batra

Reputation: 1

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

and Your problem will be resolved within seconds

Upvotes: 0

Muhammad Akhtar
Muhammad Akhtar

Reputation: 52241

try this code for time entry

   <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" />

Upvotes: 3

Related Questions