Telerik Forums
Kendo UI for jQuery Forum
1 answer
108 views
Hi, I have implemented a custom, cumulative file size limitation (30MB total size limit) and after removing the files that surpass that limit, when the form is submitted, it still sends the removed files.  I've done a "getFiles()" on the Upload control and it does only show the files that I would expect to be sent, so I'm a little confused as to why it's still passing files that aren't supposed to exist anymore.  Any help would be greatly appreciated!
Plamen
Telerik team
 answered on 03 Apr 2020
4 answers
259 views

Hi,

We have a scenario that shows a form (e.g. with field A and field B) with multiple text fields being edited using MVVM tied to a data source that’s is set to AutoSync. This datasource is tied to a remote connection, so there can be a momentary lag e.g. 1-2 secs.

What we can observe is that :-
- The user types in field A
- The user then clicks on field B, and starts typing… 
- As the field A lost focus, AutoSync has kicked in (so network request starts)
- User starts to type in field B, but then previous network request finishes and fieldB resets to the value in the datasource, effectively undoing what the user has just typed

Is this ‘expected’ behaviour? Do you know any methods (or workarounds) to prevent this?  Or do we need to disable AutoSync?

Is there any documentation about what events on html input fields that MVVM / AutoSync use, and when ?

Thanks

Chris

Plamen
Telerik team
 answered on 03 Apr 2020
1 answer
251 views

I have an application that uses an input for the user to enter a number. When the input is changed another field is recalculated based on the value entered. Because the application is used in different cultures and because the telerik interferes on data binding (see https://www.telerik.com/forums/numeric-input-on-popup-edit-on-different-language) with the decimal separator I have to change the input to a telerik numerictextbox. However the input event does not exist on the numerictextbox.

I tried using numerictextbox_text.on('input keyup', calculate) but they do not work. How can I have the input event on the numerictextbox?

Tsvetomir
Telerik team
 answered on 03 Apr 2020
2 answers
2.1K+ views
i need a good tutorial for kendo ui please share tat. iam total beginner for kendo ui
xu
Top achievements
Rank 1
 answered on 03 Apr 2020
3 answers
664 views

I have a page that contains a grid. The grid contains a number column. The grid is using a custom popup editor. For the number column I am using an input instead of the telerik control for numbers.

The application is localized.

When I am using a culture where the decimal separator is comma(",") when changing the number after leaving the input the decimal separator is changed from comma to point.

 

I have prepared a demo

https://dojo.telerik.com/UvAfafor/2

Here are the steps to reproduce the problem:

1. Edit the 5th row (the one that has decimals 21.35 - anyone that has decimals should work)

2. Change the decimal point from point to comma (The code from gridEdit does not work - even though in my application works[however I am using globalize package])

3. Leave the input (The decimal point should remain to comma)

4. Go to UnitPrice and add at the end a new digit (can be added or removed any digit as long as the comma is not removed)

5. Leave the input => wrong behavior the comma is converted to point.

=> expected behavior the comma should remain regardless of how many times I change the value

Silviya Stoyanova
Telerik team
 answered on 03 Apr 2020
3 answers
2.2K+ views

Hello there,
 We have a customer who wants to override decimal sepataor in a specific culture. We have tried to override it before any widget is initialized. Also created our custom culture file and used it but the result is the same. kendo.culture().numberFormat["."] show the sybol we want, but in the UI is still the default symbol. Here is a dojo showing that only curency symbol is being overwritten.

 https://dojo.telerik.com/USUkomuY/5

 

 

Dimitar
Telerik team
 answered on 03 Apr 2020
6 answers
405 views

Hello

I would ask about possibility to close last panel when expandmode is single. Multiple expand mode allows close all panels, single not.

How to close all panels in single mode.

 

Ivan Danchev
Telerik team
 answered on 03 Apr 2020
3 answers
984 views

I'm following some of the most basic kendoPDFViewer examples, and this section of code in the js file consistently crashes;

                            var pdfViewer = $("#documentViewer").data("kendoPDFViewer");
                            if (!pdfViewer) {
                                pdfViewer = $("#documentViewer").kendoPDFViewer({ //<------crashes here
                                    pdfjsProcessing: {
                                        file: ""
                                    },
                                    width: "100%",
                                    height: 500
                                }).data("kendoPDFViewer");
                            }

#documentViewer is the id of the div I'm attempting to attach the viewer to.  Debugging shows the problem happening when I try to declare the currently null pdfViewer as a kendoPDFViewer.  I made sure to include the pdf scrips in my index.html as well.

<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>

<script> window.pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.worker.js';</script>

 

Am I putting the scripts in the wrong location or something?

 

Thanks.

Dimitar
Telerik team
 answered on 02 Apr 2020
5 answers
1.0K+ views
I need export a Image with data to excel with Kendo
Tsvetomir
Telerik team
 answered on 02 Apr 2020
2 answers
246 views
I have a kendo ui grid where the first column has a button in it. The button has an icon and full text on desktop but on mobile it is only three vertical dots. I need it to be 200px wide on desktop but only 50px wide on tablet and mobile. There are 3 other columns in the grid. I would like the grid to scroll horizontally still when on mobile. I do not want to exclude any columns. I would like to set min-widths on all of the columns for each breakpoint if possible. How would I do this? 
Lee
Top achievements
Rank 2
Silver
Bronze
Bronze
 answered on 02 Apr 2020
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
Drag and Drop
Application
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
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?