This question already has answers here:
Kendo UI datepicker incompatible with Chrome 56
(2 answers)
Closed 6 years ago.
In current chrome version (56.0.2924.87), Kendo date and time picker value is not coming correctly. This was working perfectly in previous version. I have given now() as date picker value with type date from my mobile Kendo date and time picker works perfectly, but not in browser. It was working before.
Try this:
#(Html.Kendo().DatePicker()
.Name("datepicker")
.Value("10/10/2011")
.HtmlAttributes(new { type = "text" })
)
See these posts:
Kendo DatePickerFor issue in CHROME version 56.0.2924
Kendo UI datepicker incompatible with Chrome 56
Related
I have 2 Kendo UI date pickers on my page to select the start and end date of a date range. On random page loads in these 2 date pickers, one becomes not responding. That is, the calendar is not showing up when clicking on the icon to select a date. This issue mostly happening in chrome.
This issue is resolved. This was due to a code issue where controls are binding 2 times. Corrected the code and binding bring down to 1 time and the issue got resolved. So anybody facing a similar issue please validate this scenario too as a step to resolve.
Thank you very much.
I had a datepicker in which I am getting default system date during its Initialization.But I don't want default date.I need to get a Title(Select Date) similar to PikcerTitle in Xamarin.Forms. Anyone please help me to bring a solution for my problem.Thanks in advance.
You can add a label and datepicker instead of just datepicker and hide datepicker. Add a tap gesture to the label, on the tap focus the datepicker and bind the text of the label to the datepicker's date.
On page load add your desired text in the label.
I want to open the native datepicker of FirefoxOS on a click on a button.
By default, the native datepicker shows up when an input (date type obviously) has focus.
But how to do this with for a button ? Moreover, I don't like date inputs, because my app is in french and the format of the date displayed in a date input is not the french format.
I tested with a date input hidden with css. The click on the button triggers the focus on the input. But in this case the datepicker is not shown.
Please do not suggest me to use JQuery UI or other javascript datepickers. On mobile they are not very usuable and the best is native datepicker.
Thanks for your help
Firstly, if your question is about how to fire the native date picker with a button, you can do it by calling focus on it like:
<input id="datepicker" type="date">
<button onclick="document.getElementById('datepicker').focus()"></button>
If it's about hiding the date picker, but still using it with the button, you can put the opacity to 0 with CSS, but it will still be there, just not visible:
#datepicker {
opacity: 0;
}
Does that answer your question?
I'm developing database application in wp7,where i using datepicker to store the date value.when i was add a record,it works perfectly,but during updating time when I'm editing the record,the datepicker value never changes.it contains the same value,how to make it as changeable?
In my MVC 3.0 Razor Engine Project
I am using Telerik DatePicker
It seems to be Telerik Date Picker is having some issues while binding to Collections.
as mentioned here on Telerik Forum
This is my Code
#(Html.Telerik().DatePicker()
.Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
.HtmlAttributes(new
{
id = ViewData.TemplateInfo
.GetFullHtmlFieldId(string.Empty)
.Replace("[", "_")
.Replace("]", "_") + DateTime.Now.Millisecond.ToString()
})
.Value(Model > DateTime.MinValue? Model : DateTime.Today)
)
This is my View
#Html.EditorFor(model=>Model.EndDate)
though This brings the value calender Icon but
when I click on Icon or text box it wont show the calender to pick date.
Hey I could fix my problem.
just use below line to have the bind date to Telerik DatePiker and this works
#(Html.Telerik().DatePickerFor(model=>Model.Date))