Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.1K+ views

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

Timothy
Top achievements
Rank 1
 answered on 09 Jun 2017
7 answers
173 views

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

Alex Hajigeorgieva
Telerik team
 answered on 09 Jun 2017
1 answer
208 views

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.

Georgi
Telerik team
 answered on 09 Jun 2017
3 answers
559 views

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

Ivan Danchev
Telerik team
 answered on 09 Jun 2017
1 answer
576 views

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);
                }

 

 

Georgi
Telerik team
 answered on 09 Jun 2017
1 answer
138 views

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

Veselin Tsvetanov
Telerik team
 answered on 09 Jun 2017
1 answer
213 views

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

Plamen
Telerik team
 answered on 09 Jun 2017
1 answer
228 views

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.

Konstantin Dikov
Telerik team
 answered on 08 Jun 2017
1 answer
235 views

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. 

 

 

Alex Hajigeorgieva
Telerik team
 answered on 08 Jun 2017
2 answers
146 views

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!

Hamza
Top achievements
Rank 1
 answered on 08 Jun 2017
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?