Telerik Forums
Kendo UI for jQuery Forum
2 answers
175 views

I've got a few custom popup grid editors that are grouping related fields using Bootstrap tabs.

I'm trying to find a way to switch tabs in the event of a validation error (using the built-in Kendo validation). At this moment, if a user has a particular tab open, and fails to complete a required field on a different tab, the save fails without any visual hints.

I've previoulsy found a solution when using jQuery validate (but I can't find it now) but I'd rather use Kendo's validation for simplicity.

Any suggestions?

Mat
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 21 Mar 2023
1 answer
2.7K+ views

Previously I've been using kendo.bootstrap-v4.min.css, which is now throwing a 404 with 2023.1.314.

Documentation specifies the following which also throws a 404.

http://https://docs.telerik.com/aspnet-core/installation/adding-client-side-resources/cdn-service

<link href="https://kendo.cdn.telerik.com/2023.1.314/styles/kendo.bootstrap-main.min.css" rel="stylesheet" type="text/css" />

 

Regards,

Heath

Dimitar
Telerik team
 answered on 16 Mar 2023
0 answers
186 views

Here is  a DOJO  example that illustrates these 2 issues:

DOJO

Issue 1: When using a full width template for listbox items, there is extra space above each item. This is due to the .k-list-item-text span you automatically create. It has a ::before pseudo element with content set to "\200b".  Is this intentional? My workaround is to override this element CSS to remove the content.

Issue 2: When programmatically selecting items in the list box, the toolbar buttons are not enabled like when a user clicks an item. Calling trigger('change') does not help. My workaround is to trigger a click event on the item instead of using the Select() Method, but I assume this is a bug?

Here is a second DOJO with the 2 workarounds implemented:

Workarounds DOJO

Erik
Top achievements
Rank 1
Iron
Iron
Iron
 updated question on 15 Mar 2023
1 answer
246 views

I want to trigger an event add when a user highlights a time range on a scheduler.

I can pick up when the user lets go of the mouse on the calendar using

        scheduler.wrapper.on("mouseup touchend", ".k-scheduler-table td, .k-event", function (e) {

        });

but i can't figure out how to get the selected slot range from there.

seem to be able to get the end time of the selected range via the slotbyelement(e.target), but i can't figure out how to get the start time.

 


 

Martin
Telerik team
 answered on 15 Mar 2023
1 answer
514 views
I have a requirement to align the selected chips to the right of a kendo multi select's k-input-values block. The issue I have is that there is a hidden input field in the last position. I attempted to remedy this by adding flex-direction: row-reverse to the k-chip-list class, however that makes all the selected items appear in reverse order which the client doesn't like. Is there a way to right align the chips without changing their order?
Martin
Telerik team
 answered on 14 Mar 2023
2 answers
609 views

Hi,

I am trying to make custom visual template with specific background coloring for my ListBox. But from what I can see and reproduce, template doesn't actually apply to the item, but to child element within. 

Custom template allows me to set "in item" layout of elements and some of their properties, but even if i manage to apply background color, it doesn't work properly. 

I tried even with hardcoding style into template directly instead of using class, and nothing works.

Is this the bug or basically "item" template is not really item template but only item text template (I didn't see this written anywhere)?

Please find dojo showing behavior here: https://dojo.telerik.com/udeNIxul/3

EDIT: Template works as expected on the ListView here: https://dojo.telerik.com/uleKARuN

Thanks and regards,

Vedad

Erik
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 13 Mar 2023
5 answers
475 views
We are keen on making use of Kendo's grid (using ASP.NET MVC Kendo Web controls)
 but need to know how multiple selection of rows can be achieved (if possible) when the grid is bound to a remote data source (web service) and paging is in place.

Below is the functionality we require:
  1. Retrieve large result sets (via the web service) ranging from 1 to 6000+
  2. Filter the retrieved result set
  3. Sort on certain columns
  4. After sorting users must be able to multiple select certain rows, and...
  5. The selection state of each row must be bound to a checkbox in the 1st column
  6. Row selection (check boxes) must persist across pages (paging - checkboxes remain checked during paging operations - forward and backward) 
  7. Users must also be able to select all records e.g. an "all" checkbox in the grids header

We have been able to comply to all our requirements other than to points  5, 6 and 7 but they are all related.
 
Do we have to maintain the selected state ourselves (i.e. build a list of some sort and then update the grid) or is the grid capable of doing it by itself even when remotely bound? What is the best way to approach this if we have to do it ourselves? Using the dataset etc. etc.?

Any assistance or pointing in the right direction will be appreciated

Rakesh
Top achievements
Rank 1
Iron
 answered on 13 Mar 2023
1 answer
116 views

Hi Telerik,

The requirement is to have text inside ranges.

Is there a way to do it?

Nikolay
Telerik team
 answered on 13 Mar 2023
1 answer
280 views

We are seeing an error when pasting an image from a Microsoft Word document into the Kendo editor.  This can be reproduced on the demo site by creating a new Word document and selecting the Resume template, then copying the profile image out of Word and pasting it into the editor.

The error reported is:

Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.
    at _fileToDataURL (kendo.all.js:313050:21)
    at Function.map (jquery.min.js:2:3630)
    at init._insertImages (kendo.all.js:313050:21)
    at init._handleImagePaste (kendo.all.js:313050:21)
    at init.onpaste (kendo.all.js:313050:21)
    at cut copy paste drop dragover (kendo.all.js:313050:21)
    at HTMLBodyElement.dispatch (jquery.min.js:3:12445)
    at r.handle (jquery.min.js:3:9174)

The problem is that because this error is thrown, the paste command is never executed in our code for processing the image.  Please let me know if there is anything we can do about this error.

Thanks,

Bob

 

Neli
Telerik team
 answered on 13 Mar 2023
0 answers
133 views
I am creating the donut chart with two categories. When one of the values is zero the color set to that category shades the center of the chart. How can I prevent that?




                            $("#" + appendDiv + index).kendoChart({
                                    title: {
                                        position: "bottom",
                                        text: data[0].hospital + `\nPatients ${data[0].total}`,
                                    },
                                    legend: {
                                        position: "top",
                                        visible: false
                                    },
                                    dataSource: {
                                        data: data
                                    },
                                series: [{
                                    type: "donut",
                                    field: "value",
                                    categoryField: "name",
                                }],
                                    seriesDefaults: {
                                        labels: {
                                            template: "${ value }",
                                            position: "center",
                                            visible: true,
                                            background: "transparent",
                                            color: "white",
                                            font:"15px"
                                        }
                                    },
                                seriesColors: ["#46bf6f", "#229dff"],
                                    tooltip: {
                                        visible: true,
                                        template: "${ category } - ${ value }"
                                },
                            })
Eduardo
Top achievements
Rank 1
 updated question on 09 Mar 2023
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
AICodingAssistant
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
+? 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?