Hello
Princy,
I realized that I am working with RadDateInput not radDatePickker. On the page view coding, I am trying to get the attribute Maxdate to accept asp script Maxdate= "<%# System.DateTime.Today %>" (
<%# = <%# and
%>= %> )
but for some strange reason the script code is not working. Is there another way to call date into Maxdate attribute using C# properties within asp script.. PS it cannot take Tostring because it's property are not defined to the asp server.
<td class="tdfv" colspan="3"><telerik:RadDateInput ID="DateOfBirth" runat="server" Skin="Web20" Height="14px" Width="70px" DateFormat="MM/dd/yyyy" MinDate="1880-01-01"
MaxDate="<%# System.DateTime.Today %>" ShortYearCenturyEnd="<%# System.DateTime.Today.Year %>" SelectionOnFocus="SelectAll" CausesValidation="True" /></td>
This whole code is in a ascx file.