I am trying to use the jquery date picker for a simple date picker field in asp.net webforms all the examples appear to be for mvc these days so why i am asking the question.

If I am using the jquery date picker above how do i set the null date so my entity does not through an exception if was using telerik controls I would normally set it to null like this.

 <asp:TextBox ID="dateOfBirth" data-provide="datepicker"   data-date-format='dd/mm/yyyy'  CssClass="form-control" runat="server"></asp:TextBox><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>

But I cant use the rad controls for this client.

rdpDatePassportIssued.Value == DateTime.MinValue ? new DateTime(1900, 1, 1) : rdpDatePassportIssued.Value;

Related posts

Recent Viewed