We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DatePicker contol does not show date in the textbox

Thread ID:





88198 Jul 17,2009 12:26 AM UTC Jul 17,2009 11:50 AM UTC ASP.NET MVC (Classic) 1
Tags: Tools
Nimish Bhonsale
Asked On July 17, 2009 12:26 AM UTC


We are trying to assign the date from the model to the datepicker. However, we are not able to display the date in the textbox of the datepicker control. The date seen in the Calendar dialog is correct, however by default no text is displayed on load of the page.

We have the following code:

var pickerModel = new DatePickerModel
DisplayDefaultDateOnLoad = true,
DefaultDate = Model.DateOfBirth.Value,
ViewData["DoBModel"] = pickerModel;

<%= Html.DatePicker("DoBModel")%>

Am I missing something here?


Muthukumar L [Syncfusion]
Replied On July 17, 2009 11:50 AM UTC

Hi Nimish,

Thanks for evaluating Syncfusion products.

We regret to let you know that jQuery don’t supporting for loading default date at initial load.

DefaultDate Property is used to set the date to highlight on first opening if the field is blank

Please refer the following link:

This feature is available in the next release

Thanks for your patience.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon