Hi Sonam,
Thanks for the update.
We suggest you to add node for setting today’s date link and set the date in onclick function of the link node. Please refer the below code snippet to achieve this,
[View]
<%= Html.Syncfusion().DatePicker("myDatePicker").Inline(true)%>
[Script]
$(document).ready(function () {
$("#datepicker1").datepicker();
//append a link for todays date wher ever you want.
$("#myDatePicker").append("");
});
function goto() {
var currentDate = new Date();
//setDate sets currentdate to Datepicker
$("#myDatePicker").datepicker('setDate', currentDate);
}
Kindly try the above code and let us know if it helps.
Regards,
Varalakshmi