Telerik Forums
Kendo UI for jQuery Forum
1 answer
596 views
Hi,

If you put twice or more times a DatePicker in a single <label> tag, then calendar popup for the second instance doesn't work, it hides immediately.
I'm aware of that it's not a good practice to put multiple inputs in a single label tag, but sometimes such things happends on a generic pages.

Sample:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Untitled</title>
  <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.common.min.css">
  <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.rtl.min.css">
  <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.default.min.css">
  <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.dataviz.min.css">
  <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.dataviz.default.min.css">
  <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.mobile.all.min.css">

  <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  <script src="http://cdn.kendostatic.com/2014.2.716/js/angular.min.js"></script>
  <script src="http://cdn.kendostatic.com/2014.2.716/js/kendo.all.min.js"></script>
 
</head>
<body>
  <div ng-app="testApp">
    <div ng-controller="testAppCtrl">      
      Try to open the second date picker popup<br /> 
      <label>
        From <input kendo-date-picker ng-model="dataObj.dateFrom"/> 
        to <input kendo-date-picker ng-model="dataObj.dateTo" />            
      </label>
    </div>        
  </div>
  <script>
    var testApp = angular.module('testApp', ["kendo.directives"]);
    testApp.controller('testAppCtrl', ['$scope', function ($scope) {
      $scope.dataObj = {
        dateFrom:"2014-11-18T10:29:49.452Z",
        dateTo:"2015-11-18T10:29:49.452Z"
        }
    }]);
  </script>
</body>
</html>
Kiril Nikolov
Telerik team
 answered on 20 Nov 2014
2 answers
131 views
Hi,
In the kendo stockchart, is there a way to align the categoryaxis & valueaxis crosshairs so that they are in sync like in this chart?

http://finance.yahoo.com/echarts?s=AAPL+Interactive#

See how when you move the mouse on the chart, both crosshairs move in sync so you can easily figure out the category & value of each data point on the chart.

Thanks,
Ling
Top achievements
Rank 1
 answered on 20 Nov 2014
8 answers
827 views
Hi guys,
I'm evaluating your web widgets for our company and I have noticed some weirdness when using the Kendo UI Web Editor.

If you click somewhere in the document but do not highlight text, then click the insert link or underline buttons, the editor adds the following characters:
     or    &iuml;&raquo;&iquest;&iuml;&raquo;&iquest;  in html.

This also happens on your demos that come with the trial download, but not your website live demos.
I have tested this on IE10, Chrome and Firefox 22

I've tried setting the UTF-8 encoding on the scripts and html page but that doesn't help.

Any ideas?
Pablo
Top achievements
Rank 1
 answered on 19 Nov 2014
1 answer
328 views
With the new export to excel and PDF functionality, is there a way to export ALL of the data for a grid rather than just the current page's data?  The example only exports the page that is currently being viewed, which is next to useless IMHO.

Thanks,
Lee
Lee
Top achievements
Rank 1
 answered on 19 Nov 2014
1 answer
133 views
I would like to plot demographic information like, county,zipcode, state based on the lat and long coordinates. My requirement is very similar to google api fusion tables. Pl. suggest.
Hristo Germanov
Telerik team
 answered on 19 Nov 2014
1 answer
96 views

Is it possible to extend the editor in such a way to add functionality to add captions to table columns in such a way as to ensure that assistive technology will know where the headings are and be able to announce them. For example http://jimthatcher.com/webcourse9.htm Using the caption element.

So for example, adding inputs to create captions for all table columns or some other way to add captions.

Would also want to turn off features such as adding images in the editor.


​
Alex Gyoshev
Telerik team
 answered on 19 Nov 2014
1 answer
146 views
Hi all;

I'm working on a project that has a model with dependent fields.  As an example, consider a model with fields for both metric and imperial length (for my purpose, they both need to be writable fields).  So when one value changes, I need to change the other as well -- I'm using MVVM to bind both of these to a Kendo view.  My first attempt was to bind a function to the set event of each in the Kendo observable object, but I have a hunch that's going to lead to an infinite loop (changing metric, leading to changing imperial, leading to changing metric, etc.)  Am I going about this the wrong way?

Thanks,
Jason

    var oc = kendo.observable({
        MetricLength: 1,
        ImpLength: 3.28
    });

    oc.bind("set", function(e) {
        if (e.field == "MetricLength") {
            oc.set("ImpLength",e.value * 3.28);
        }
        if (e.field == "ImpLength") {
            oc.set("MetricLength",e.value*3.28);
        }
    })
Alexander Popov
Telerik team
 answered on 19 Nov 2014
7 answers
276 views
Hi everyone,
Please help me fix this, thanks.
- My grid default is hide and after use event it show and this have error title
- If my grid default is show, it don't have error title
Dinh
Top achievements
Rank 1
 answered on 19 Nov 2014
2 answers
150 views
Hi, I am testing the scheduler. I just set my code like the demo:

jQuery("#workcalendar").kendoScheduler({
     date: new Date(), // The current date of the scheduler
     selectable: true,
     snap: false,
     views: [
        {
           type: "month",
        },
        {
           type: "day"
        },
        {
           type: "week"
        }
        ,
        {
           type: "agenda"
        }
      ]
      ,
       dataSource:
       {
             batch: true,
             transport:
             {
               read:
               {
                   url: "KPIGetData/DimData.aspx?SearchInput=schedulerevent",
                   dataType: "json",
                   data: {"SearchValue":CurrentUserID,"StartTime":SearchTimeStart,"EndTime":SearchTimeEnd}
               }
             }
             ,
             schema:
             {
               model:
               {
                 id: "taskId",
                 fields:
                 {
                   taskId: { type: "number", from: "TaskID"},
                   title: { from: "Title"},
                   start: { type: "date", from: "Start" },
                   end: { type: "date", from: "End" },
                   description: { from: "TaskScript" },
                   recurrenceId: { from: "RecurrenceID" },
                   recurrenceRule: { from: "RecurrenceRule" },
                   recurrenceException: {from:"RecurrenceException"},
                   ownerId: {from: "OwnerID", defaultValue: 1},
                   isAllDay: {type: "boolean",from:"IsAllDay"}
                 }
               }
             },
              error: function(e) {
               alert(e.errors);
              }
       }
      
   });

The scheduler shows well. But the event don't be loaded from server.

The read URL returns this data:
[{"TaskID":4,"OwnerID":2,"Title":"Bowling tournament","Description":"","StartTimezone":null,"Start":"11/17/2014 12:00:00 AM","End":"11/17/2014 12:00:00 AM","EndTimezone":null,"RecurrenceRule":null,"RecurrenceID":null,"RecurrenceException":null,"IsAllDay":false}]

Note that this is just like the demo.
But no event showed, just nothing.

It take me over 5 hours, I really don't know what happened.

yours,
Ivan
Vladimir Iliev
Telerik team
 answered on 19 Nov 2014
1 answer
104 views
Hello,

How do I receive a dropdown list Id in a Create method of the Controller? My drop list is a CategoryList and I want CategoryId. I am trying to keep my Product model flat as nesting with complex object (like Category) also did NOT work.
Let me know, whether my ParameterMap  is correct and how do I write it for a complex object, if I want to embed it ?


However,  I can get CategoryId in my Update method. Please let me how to correct the above issue?

Attached are files in a zip.
Daniel
Telerik team
 answered on 19 Nov 2014
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
Drag and Drop
Map
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
Licensing
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
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
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?