Telerik Forums
Kendo UI for jQuery Forum
1 answer
5.5K+ views
I'm Using Kendo UI MVC.I need a MultiSelect with checkbox for each item to allow me select multiple of items.I need same layout for existing kendo UI multiselect.

Could you please share me the sample example?
Georgi Krustev
Telerik team
 answered on 13 Jul 2016
3 answers
171 views

Hi

I'm trying to use custom theme builder. http://demos.telerik.com/kendo-ui/themebuilder/ but it generates corrupted css now. It used to work correctly back in April.

 

.k-slider-horizontal .k-tick {
  background-image: url('url("http://kendo.cdn.telerik.com/2016.2.607/styles/Metro/sprite_2x.png")/slider-h.gif');
}
.k-slider-vertical .k-tick {
  background-image: url('url("http://kendo.cdn.telerik.com/2016.2.607/styles/Metro/sprite_2x.png")/slider-v.gif');
}

Could you please fix it? Also, is there anyway to specify local path?

Iliana Dyankova
Telerik team
 answered on 13 Jul 2016
5 answers
921 views
How do you allow clicking on a hyperlink in the Editor? Is this possible and how do I enable this? I see that you have them in your Editor demo, but I cannot click on them to open there either.
Ianko
Telerik team
 answered on 13 Jul 2016
2 answers
388 views

I have a column which creates a dropdown list from a foreign key value. 

I change the value in my application, the variable value changes but the drop down list does not update.

var dashboardTypeNames = [];
var menuNames = [];

columns: [              

              { field: "DashboardTypeId", values: dashboardTypeNames, title: "Dashboard Type" },
              { field: "MenuId", values: menuNames, title: "Menu" },              
        ],

On start I populate the dashboardTypeNames array with data using ajax the selected item value is then passed to another ajax which i want to populate the second dropdown I have an onchange function which gets the value of the selected item.

Anyhelp would be appreciated

Boyan Dimitrov
Telerik team
 answered on 13 Jul 2016
3 answers
188 views

Hi,

I'm using kendo with Angular, and looking for a way to format the tooltip with thousand coma seperator (what I have now, is not working)

and also have a number in the donut.

I know how to do it in JS but not in Angular..

this is my code (it's all on the html page) , can you please help me?

 

 

<div class="panel panel-default" style="width: 530px; margin-left:10px;float: left;">
 <div class="panel-body">
   <div 
kendo-chart 
k-title="{text: 'POR vs Burden', color: '#3d3c3c'}"
k-legend="{ position: 'bottom' }" 
k-series-defaults="{ type: 'donut', startAngle: 270, labels: {
   visible: true,
holeSize: 45,
   background: 'transparent' }}"
k-series="[{
name: 'Value',
               field: 'Value',                
               categoryField: 'Category',
              labels: {
               visible: false
           },
                        holeSize: 70,
               visibleInLegendField: 'visibleInLegend',
               padding: 10
             }]"
            k-series-colors="['#b2473e', '#eb8a44']"
   k-tooltip ="{visible: true, format:'{0:N0}'}"
   k-data-source="burdenMoneydata"     
   style="height: 300px; width: 500px;">
</div>
 </div>
</div>

Daniel
Telerik team
 answered on 13 Jul 2016
5 answers
947 views

I use the functionality of the multiselect to add or remove items, but I need a confirmation before an item will be deleted.

So I use the DataBound-Event to save the current values an everytime the Change-Event is triggered I compare the current values against the previous:

 function onChange() {
        var previous = this._savedValues;
        var current = this.value();
        if (current.length < previous.length) {
            var diff = $(previous).not(current).get(0);
            if (diff != null) {
                var memberName = diff.substring(diff.indexOf('CN=') + 3, diff.indexOf(','));
                var string = 'Delete' +  memberName + '?';
                if (confirm(string.replace('{0}', memberName))) {
                    console.log("confirmed"); // nothing more happens here
                }
                else {
                    //reset;
                    this.value(previous);
                }
            }
        }
        saveCurrent(this);
    } 

    function saveCurrent(multi) {
        multi._savedValues = multi.value().slice(0);
    } 

    function onDataBound() {
        saveCurrent(this);
    }​

The problem is: This doesn't really work properly. If I add and remove some items, the multiselect deletes more items than I want to remove. 

 

Kiril Nikolov
Telerik team
 answered on 13 Jul 2016
1 answer
302 views

Hello,

A question about validation in kendo UI datasource.

I have a kendo grid and this grid has defined an editor template which is a custom directive 'tagSearch'. This custom directive has an input element into it with type text:

 editor: function (container, options) {
                                    var tagSelection = $('<div name="' + options.field + '"><tag-search></tag-search></div>');
                                    tagSelection.appendTo(container);
                                }

 

In validation method I have the following code (into dataSource):

 

  schema: {
                            model: {
                                id: "itemId",
                                fields: {
                                    tag: {
                                        type: "string",
                                        validation: {
                                            required: true,
                                            tagvalidation: function (input) {
                                                if (input.is("[type=text]")) {
                                                   
                                                  if(...some validation...){

                                                     input.attr("data-tagvalidation-msg", "This tag is already added!");

                                                     return false;
                                                    }
                                                return true;
                                            }
                                        }
                                    }
                                }
                            }
                        }

 

But the validation message with the text "This tag is already added!" does not appear. So what could be the possible reason(s) for this issue

 

Thanks and Regards!

Rosen
Telerik team
 answered on 13 Jul 2016
1 answer
183 views

Hello,

are there any plans to support Bridge.NET? It would be nice if there were Kendo UI Bridge.NET type definitions available. They might be generated automatically from TS definition files.

Petyo
Telerik team
 answered on 13 Jul 2016
10 answers
3.7K+ views
Using the MVC wrapper I create the grid.

I need to tell the grid to not render the alternative style of alternating lines. Right now it adds a .k-alt to every other TR

Is this possible?
SpicyMikey
Top achievements
Rank 2
 answered on 12 Jul 2016
1 answer
262 views

Hi everybody
I have an issue with the grid when scaling the browser window. For some reason I do not understand, the grid column width properties do not get adjusted in firefox. They do however in Chrome and Internet Explorer. Take a look at the screenshot.

Is this a known issue or am I doing anything wrong here?

Best regards

Dimiter Topalov
Telerik team
 answered on 12 Jul 2016
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
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?