This is a migrated thread and some comments may be shown as answers.
Att:Telerik-team Custom DateParser How do I set my date as valid?
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Henrik
Top achievements
Rank 1
Henrik asked on 24 Jan 2011, 07:09 PM
My custom parser works like a charm but now I need to know how to set the style of DateInputBox to valid.

I override the dateParser function like this.

Telerik.Web.UI.RadDateInput.prototype.parseDate = function (value, baseDate) {
  
//Some logic here
//
//
  
//Set new date
sender.set_textBoxValue(NewDate.format(sender._displayDateFormat));
//Need to set box to valid state
  
}

Anyone with a fast answer to this ...
//Henrik

1 Answer, 1 is accepted

Sort by
0
Henrik
Top achievements
Rank 1
answered on 25 Jan 2011, 08:57 AM
Solved!
I did wrong ...
Need to return my parsed date as date object ...

//Henrik
Asked by
Henrik
Top achievements
Rank 1
Answers by
Henrik
Top achievements
Rank 1
Share this question
or