Telerik Forums
Kendo UI for jQuery Forum
2 answers
235 views

Hi --

I've been trying to get a "switch" of any kind to work with the regular MVVM framework -- it's a full desktop web application (not the mobile flavor).

I have tried including the mobile css, creating a new kendo.mobile.application, but nothing seems to work. 

Do you have any examples of the mobile switch being used in a non-mobile application and using the MVVM framework?  I'd love to see the code in a JsFiddle or something.

If you need it, I can try to create a non-working fiddle with what I'm after -- but it's really just a multi-field form, where one/more of the fields is a switch -- and uses the MVVM framework and NOT a mobile application.

Any assistance is appreciated -

Erik

Erik
Top achievements
Rank 2
 answered on 08 Feb 2017
2 answers
203 views

Hello,

I am looking at doing remote validation using custom rules and I found http://www.telerik.com/blogs/extending-the-kendo-ui-validator-with-custom-rules approach which is exactly what I am looking for, however I would like to show a message using different styling/template when a field is in "checking.." state vs when there is an actual error, 

Is there any way to specify an error template only for single field or conditionally change the error template based on for what field it is showing the error message, also I am using AngularJS version

 

Thanks
Ketul

 

 

James
Top achievements
Rank 1
 answered on 08 Feb 2017
3 answers
1.3K+ views

I'm trying to write some javascript that will disable/enable all controls, regardless of type, in a specified div.

How can I do this? I understand that I might have to write a little code for each time of control, but I need to know where to start.

 

Rumen
Telerik team
 answered on 08 Feb 2017
3 answers
258 views

If I remove the url property on the data item, behavior is normal.

I've got a jsFiddle that demonstrates the problem here. The last node, 'Carpets' has a url property and can't be dropped and won't fire the drag event.

Ivan Danchev
Telerik team
 answered on 08 Feb 2017
6 answers
716 views

Hi -- there seems to be a bug with the Draggable widget, where text <input> elements inside the draggable element cannot be focused with the mouse.  See the following simple JS Fiddle:

http://jsfiddle.net/kQ5Sm/2/

Please let me know if there is a fix/workaround for this issue.  Thanks!

ryan
Tsvetina
Telerik team
 answered on 08 Feb 2017
2 answers
184 views

Hi all.

I'm using Kendo UI Grid to present SharePoint list data inside a TabStrip in a standard page in Office 365 (so SharePoint online) and everything works nicely except Export to Excel does absolutely nothing. I've tried using the toolbar "Excel" feature and it does nothing and if I add a separate button as the below:

$("#btnExcelExportAll").kendoButton({
    click: function () {
        $("#allpropgrid").getKendoGrid().saveAsExcel();
    }
});

 

the page refreshes on click but nothing else happens. I've tried this in Firefox, Chrome and IE11 all on Windows 10 and no joy. Anyone got any suggestions? Am I missing some kind of pre-requisite?

Thanks in advance for any assistance.

PaulH
Top achievements
Rank 1
 answered on 08 Feb 2017
1 answer
59 views

My requirement is to show some specific events on top always however time does not matter for this event.

Like

Event1 - 02/02/2017 08:00

Event2 - 02/02/2017 10:00

Event3  - 02/02/2017 13:00

I want to show Event 3 on top always and it will be all day event.

Please help me on the same.

Nencho
Telerik team
 answered on 08 Feb 2017
1 answer
389 views

Hello. I have been having problems on the last couple of days regarding markers on maps. For my project we need that each time the user puts the mouse arrow over a marker a POST request is sent to the server. When the answer returns from the server we want:
- A tooltip to appear with part of the information received from the server response.
- The rest of the information from the response should appear in a table outside the map element.
You can see a working example (that uses a Google map element instead of a Kendo map) in:
http://89.18.174.74/maptest/

Even though Kendo map markers support tooltips, using them does not allow me to reproduce the intended behaviour due to several issues:
- No matter which way you use to specify the content (calling a local function, specifying a URL to get the content from, etc), the action to get the content is only executed once per marker. Even if the user is going back and forth between a clear area of the map and the same marker all the time, I need a POST request to be sent each time to the server since the answer might change.
- It is not possible for me to make the external table with data appear while the mouse is over one of the markers.
All of these could be very easily solved if I had access to events of mouseEnter/mouseLeave for map markers (like we have for shapes) that allowed me to show the tooltip and perform all the actions I wanted manually but, as far as I have dug, these are not available at the moment.
Any help would be greatly appreciated.

Boyan Dimitrov
Telerik team
 answered on 08 Feb 2017
3 answers
220 views

I've been looking at the licensed source distribution (2017.1.118, retrieved with bower), and had a couple questions/comments.

  • It looks like (aside from jquery) the third-party .js files that come with the minified release package aren't included?  This would be "angular", "jszip" and "pako_deflate".  It would seem that if working with source, one would have to check in the release package to see what was included there?  Might there be a case to include these somewhere in the source package, or perhaps a reference to the versions included with the release package?
  • The "kendo-ui/bower.json" file has the entry "version": "2016.3.1202" (not a public release?), although the js folder has the expected source code for "v2017.1.118".  Did this file just get missed for updating?  I don't think it causes a problem, although the "jquery" dependency has ">=1.9.1 <=2.1.1" and you may have intended this to be "<= 2.1.4" for the current 2.1.x release?
  • Don't forget to update your Javascript Prerequisites doc page to include table entries for 2017.1.118!  Also, Angular 1.6 was recently released; are there any notes on using it with Kendo?  BTW, one of your other Angular articles seems to suggest that the Bad Things that the Prerequisites page warns about with "ng-model" and 1.5 actually started with 1.4.9?  Perhaps the Prerequisites warning should be updated?  I notice the release packages bundles Angular 1.4.6; was there a reason to not include 1.4.7 or 1.4.8?
  • The release package has jQuery 1.12.3 - any reason this wasn't 1.12.4 (May 2016)?  The included "pako_deflate.js" is 1.0.1 - upstream is 1.0.4 and I notice that 1.0.2 "Fixed nasty bug in deflate ... which could cause broken data in some rare cases."
T. Tsonev
Telerik team
 answered on 07 Feb 2017
3 answers
235 views

I have grid working with a detail row. The following code does not fade in the row:

 function detailInit(e) {
 var detailRow = e.detailRow;
 debugger;
 detailRow.find(".grid").kendoGrid({
  animation: {
   open: { effects: "fadeIn" }
  }
 });
 }

 

Dimiter Topalov
Telerik team
 answered on 07 Feb 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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?