We are trying to switch the visibility of some NumericTextBoxes. 'ng-show' made some appearance effects but nothing useful. 'ng-if' seems to be more promising, but we experience other effects. Instead of disappearing nothing happens and instead of reappearing additional TextBoxes appear.
Please see this example: http://dojo.telerik.com/ELOlO
Press the button to see the problem.
Any hints?
Regards
Alex
I'm using the Kendo UI TimePicker control where the min and max times can be set to the next or previous day.
When selecting a time that exists the next (or previous) day the value returned is a full DateTime but is always set to the current date.
For example, if the current date time is "Jun 25, 2015 10:00 PM" and you scroll down and select "Jun 26, 2015 02:00 AM" the return value will be "Thu Jun 25 2015 02:00:00 GMT-0400 (Eastern Daylight Time)" but I'm expecting it to be June 26.
How do I make this control return the expected DateTime.
Here are my code segments:
// Init the control
$("#dtpEndDateTime").kendoTimePicker({
format: "MMM dd, yyyy hh:mm tt",
interval: 15,
change: onShiftEndDateTimeChange
});
// Set the values elsewhere
var dtpEndDateTime = $("#dtpEndDateTime").data("kendoTimePicker");
dtpEndDateTime.value(moment(_shift.EndDateTime).toDate());
dtpEndDateTime.min((moment(_shift.StartDateTime).add(15, "minutes")).toDate());
dtpEndDateTime.max((moment(_shift.EndDateTime).add(12, "hours")).toDate());
// get the selected value inside the onShiftEndDateTimeChange event
var datetimepicker = $("#dtpEndDateTime").data("kendoTimePicker");
console.log(datetimepicker.value());
I've got a sample in the Dojo that illustrates the issue I'm running into. I originally ran into this because we are opening the calendar when the control receives focus. At any rate, when the calendar control is open, if you manually punch in a date and hit "Enter", the calendar control closes but the text value is changed to whatever value was selected in the calendar. In the example below, simply put the focus in the text box, hit "1/31/2015" and hit "Enter". The calendar will close, but the text value will be changed to today's date (the default in the calendar). Any thoughts for a workaround?
Hi,
I just discovered that even though I have removed the ImageBrowser-option from the settings it is still possible to upload images via drag and drop. I have investigated the documentation and it seems that there's no way to prevent this via settings or via events.
So is there some way else I can disable this option?
Regards,
Peter
Hello,
I am trying to connect to the shapes using points but not working. Please see the sample below.
http://dojo.telerik.com/@devendra/onudi .
Can you suggest how i can resolve this.
Best Regards,
Devendra
I came to the demo site today to look into charting objects and in Chrome the styling of the demos seems pretty messed up. I have just made sure I have the latest Chrome (Ubuntu) Version 43.0.2357.130 (64-bit). See the attached images. It's fine in Firefox.
The main client area is empty and the content is forced down below. Scrolling the content rolls it up behind the nav bar and main client area.
How can I attach a javascript function to the keypress event of a hierarchy grid (the details grids).
I want to achieve this functionality
http://www.telerik.com/forums/skip-read-only-fields-when-using-keyboard-navigation-on-navigatable-grid-in-batch-edit-mode
in the detail section.
Jason