I have a razor view that contains dynamically created DateTimePickers based on a value of a NumericTextBox. These are created for each section on the view. I have 41 sections that can contain 1 or more DateTimePickers. What I want to do is for all DateTimePickers that are created (whether in the current section (div) or future sections) to only allow the option of choosing a time that is the interval amount after the previous chosen date/time.
Here is the Javascript that contains the dynamically created DateTimePicker...
function
showSectionDiv(e, i) {
var
numerictextbox = document.getElementById(
"section_"
+ i);
var
divSection = document.getElementById(
"setSection_"
+ i);
if
(numerictextbox.value == 0) alert(
"Please select a value..."
);
for
(
var
a = 0; a < numerictextbox.value; a++) {
// Insert Kendo date/time control
divSection.innerHTML +=
'<div>'
+ (a + 1) +
'- <input type="text" name="dateTimePicker_'
+ i +
'_'
+ a +
'" id="dateTimePicker_'
+ i +
'_'
+ a +
'" min="'
+ minimumDate +
'">'
;
}
for
(
var
b = 0; b < numerictextbox.value; b++) {
var
nextMinimumDate =
new
Date(minimumDate.getFullYear(), minimumDate.getMonth(), minimumDate.getDate(), minimumDate.getHours(), (minimumDate.getMinutes() + (15)), 0, 0)
var
c = (b < numerictextbox.value) ? b + 1 : b;
var
dtp = $(
"#dateTimePicker_"
+ i +
"_"
+ b).kendoDateTimePicker({
dateInput:
true
,
interval: 15,
open:
function
(e) {
dtp.min(anotherDate);
}
}).data(
"kendoDateTimePicker"
)
}
}
Thanks,
Tim
Hello!
I'm trying to upgrade from Kendo UI v2015 + RequireJs to the latest KendoUI version and SystemJS as a loader. Due to issues on GitHub SystemJS doesn't support wildcard paths anymore and this affects Kendo framework.
https://github.com/systemjs/systemjs/issues/1039
https://github.com/systemjs/systemjs/issues/1575
Are there any solution/workarounds/best practices how to use Kendo with SystemJS v.0.20+?
Thanks
Hi,
I'm new to Kendo, but have came across a fairly complex issue. I'm trying to create a view of data, that counts the number of deals made in each quarter. The data is structured as shown in the attached image (see data.png). I've also attached a mockup of the format I want to get this data into (see outcome.png).
What I think it needs to do is count the rows that match a specific 'Customer type' and 'Quarter' and then display this in a new column alongside the customer type.
Is this something that's possible with Kendo? If so, how would I go about making a start on this?
Kind regards,
Jeff.
Is it possible to add a toolbar item using a template in the Spreadsheet widget, like you can with the regular Toolbar widget?
Example: http://dojo.telerik.com/aPIha
Thanks,
Michelle
While debugging I see that the app.user.emailAddress is showing up, but not passing as a header. Is there anything I am missing?
dataSource: new kendo.data.DataSource({
transport: {
read: {
url: dataProvider.url + '/ReadProducts',
ContentType: 'application/json; charset=utf-8',
type: 'POST',
data: { "userEmailID": app.user.emailAddress }
},
parameterMap: function (data, type) {
JSON.stringify(data);
}
I could not get the DefaultCellStyle setting on the spreadsheet to take effect. Am I defining it wrong?
http://dojo.telerik.com/ixetAQ
Thanks,
Michelle
Our site uses an iframe to display content and when the user clicks on an item in our nav bar the parent page loads the new url in the iframe. We have noticed the memory has been growing every time the iframe loads a page, even if it is just loading the same page over and over. Much of the increase is garbage collected but some remains which means if the user navigates around for a while the memory usage can get pretty high. I have been struggling with this issue for a couple days now. I have searched and found a few workarounds such as deleting the iframe and creating a new one every time the user navigates but nothing has improved the problem so far. In order to make sure it wasn't something we were doing wrong in our code I created a very simple sample to demonstrate the issue.The sample loads an iframe every time you click a button with a very simple page that includes the js files for the kendo libraries we use. In this example the memory grows slowly but steadily. Obviously with a more complex page it will grow faster. I left some commented code in there with one of the workarounds I tried.
Any help would be greatly appreciated.
Thanks,
Andrew
I just updated Kendo UI to Professional R2 2017 yesterday and was trying to put a Listbox widget in the popup edit window using the template. Every time when the edit window was closed and the widget was destroyed automatically, an error occured with the message 'Uncaught TypeError: Cannot read property 'removeData' of null'.
Please help resolve this issue. Thanks.
We are having an urgent need of a customizable point chart a figure of which is attached for your kind reference.
The Y axis needs to have a range and not incremental numbers. (High, Med, Low)
The icons that need to be plotted need to be images or circle with gradient color.
The grid lines drawn need to be dividing the data into equal 9 quadrants.
We need to have a Save as PDF & JPG/PNG format.
Request you to confirm which of your existing graphs will help us to achieve the expected functionality.
Request you to urgently respond.
Hello
We have been using for quite a long time Kendo in our ASPX Web Forms applications.
Now we also started developing in pure JS and we plan to start Angular 4 as well.
However, to keep consistency, we need to provide, in our new applications, the possibility of having tooltips in Modal mode.
For example, in WebForms we had something like <telerik:RadToolTip runat="server" Modal="true">
How could we do it using kendo UI for jQuery ?
Many Thanks!