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

Date Picker with no user input in input area

1 Answer 54 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 28 Oct 2010, 08:57 AM
Hey everyone,

How can i avoid user to type in input area and only select the date though calender of date picker.Also when i click inside input area,calender does not open.How to do that?...

Thanks
Amit

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 28 Oct 2010, 10:56 AM
Hello Amit,

There are different options for accomplishing the functionality.

#1: Set the EnableTyping property to "False".

ASPX:
<telerik:RadDatePicker ID="txtStartDate" EnableTyping="false" runat="server"  Width="180px" >
</telerik:RadDatePicker>


#2: Set the DateInput -> ReadOnly to "True".

ASPX:
<telerik:RadDatePicker ID="txtStartDate" runat="server" >
    <DateInput ID="DateInput1" runat="server" ReadOnly="true">
    </DateInput>
</telerik:RadDatePicker>



-Shinu.
Tags
Calendar
Asked by
Amit
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or