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

RadDatePicker with PropertyProxyValidator

1 Answer 54 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Aditya
Top achievements
Rank 1
Aditya asked on 22 Oct 2008, 06:04 PM
  <telerik:RadDatePicker ID="tbStartDate" Runat="server" >   <DatePopupButton ImageUrl="App_Themes/Default/images/calendar.jpg"     HoverImageUrl="App_Themes/Default/images/calendar.jpg" />  </telerik:RadDatePicker>
<msvab:PropertyProxyValidator ID="StartDateValidator" runat="server" ControlToValidate="tbStartDate" PropertyName="StartDate" RulesetName="StartDate" SourceTypeName="XYZ.CLASS" Display="Dynamic" />

 

[DateValidator(Ruleset = "StartDate", MessageTemplate = "Start Date \"{0}\" must not be in the past.")] 
public DateTime StartDate {}

 

 


I Have a telerik DatePicker and i am trying to validate with a custom Validator.
The PropertyProxyValidator always read the date as 01/01/0001 instead of the date i selected.
Any suggestions ?

 

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 23 Oct 2008, 08:21 AM
Hello Aditya,

We have addressed your question in the forum post you have opened on the same topic.

Kind regards,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Aditya
Top achievements
Rank 1
Answers by
Missing User
Share this question
or