Telerik Forums
Kendo UI for jQuery Forum
5 answers
208 views

Hi,

I make a simple dialog with the k-i-tick  Icon as OK replacement:

Dojo: Simple Dialog

All work fine, only the tick icon is black. But in Nova theme the icons are white.

It is possible to show the tick icon also in white?

Peter

 

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 25 Aug 2016
1 answer
297 views

I am trying to implement multilevel lazy loading treeview. We are not sure of how many levels of nodes will be there in the treeview.

1. ) How can i implement multiple levels of nodes ?  i have X number of items and it is not possible for me to provide  children always. 

2. )  while creating my treeview data model i have an attribute "RANK" in the model. How do i get value of RANK for expanded node so that i can pass it as input while calling service to load child node? 

For URL i need to add RANK as parameter. When i used   url: function (options) { })  i am only getting ID value in options but not the RANK. 

Below is the code i implemented for two levels.

Please help. If possible please provide an example.

Thanks in advance.

    <div id="trVwScanOrg" ></div>

    $(document).ready(function () {
        TreeviewDataBind();
 });


    function TreeviewDataBind() {
var SecondLevel= {
            transport: {
                read: {
                    url: function (options) {


                return kendo.format(MVC URL + parameters in querystring);

                    },
                    type: "get",
                    dataType: "json"
                }
            },
            schema: {
                model: {
                    id: "ID",
                    hasChildren: "HasChildren",
                    children: NextLevelItems,
                    Name: "Name"
                }
            }
        };

        var FirstLevel= new kendo.data.HierarchicalDataSource({

            transport: {
                read: {
                    url: MVC URL + parameters in querystring
                    type: "get",
                    dataType: "json"
                }
            },
            schema: {
                model: {
                    hasChildren: "HasChildren",
                    id: "ID",
                    children: SecondLevel,
                    Name: "Name"
                }
            }
        });

        var trVwScanOrg = $("#trVwScanOrg").kendoTreeView({
            dataSource: FirstLevel,
            dataTextField: ["Name"]

        });
    }

Boyan Dimitrov
Telerik team
 answered on 25 Aug 2016
4 answers
307 views
I noticed that datasource sync() method always executes synchronization operations in the following order: Create, Update, Destroy.
It may cause a problem in some cases. Consider a situation, when we have some list of items with requirement that every item must be unique in the list and datasource have autoSync: false. The list contains item A already. We delete item A, then create the same item A and trying to sync() datasource. At one point the list will contain two A items, because kendo always executes Create before Destroy and I cannot find the way how to change this order from my code.
Salim
Top achievements
Rank 1
 answered on 25 Aug 2016
3 answers
501 views

Background:

I have a responsive website where a kendo menu and responsive panel are used to create a responsive menu.  All links visible when on a large screen, but it collapses to an expandable menu when on smaller devices).

Examples:

http://demos.telerik.com/kendo-ui/responsive-panel/index

http://docs.telerik.com/kendo-ui/api/javascript/ui/responsivepanel

 

Issue:

This works beautify on every single device/browser with the exception of safari (testing on an ipad).  When hitting the menu button, the menu will appear for a split second then close right away.

 

I found that it works fine in safari ONLY for pages WITHOUT images (yes, you read that right - i remove all <img> tags and it works fine).  I searched ever CSS file, inspected the elements in chrome, and i don't see any unusual styles being applied to images.  What could possibly be clashing in safari to cause this??  Any insight is appreciated!

 

 

This code was plucked from a previous developer online (i remember seeing it but can't find the link again):

01.<button id="mobilemenu" class="k-rpanel-toggle k-button btn-toggle">
02.    <span class="k-icon k-i-hbars"></span>
03.   </button>
04.    
05.  <div id="responsive-panel">
06. 
07.        <ul id="menu" class="">
08.            <li>Home</li>
09.            <li>Link2</li>
10.            <li>Link3</li>
11.            <li>Link4</li>
12.            <li>Link5</li>
13.            <li>Link6</li>
14.        </ul>
15.    </div>
16.   
17.  <script>
18.    $(function(){
19.      $("#menu").kendoMenu({
20.        select: onMeunSelect
21.      });
22. 
23.     
24.      $("#responsive-panel").kendoResponsivePanel({
25.          breakpoint: 992,
26.          autoClose: false,
27.          orientation: "top"
28.      });
29.    });
30.  </script>

David
Top achievements
Rank 1
 answered on 25 Aug 2016
3 answers
226 views

Hi,

I have an image with a click event in my ListView template - on the actual list item.

But by the time the click event fires, any multiple selection is lost.

No amount of preventDefault seems to fix this.

Perhaps I can code something complex to remember the selected items, but is there any way this would work without it?

 

<script id="group-available-template" type="text/x-kendo-template">
<div class="group available k-widget">
<div class="name">#:name#</div>
<div class="group-action arrow-left" id="add-assigned" data-bind="click: actions.addGroup">
<img src="../images/admin/arrowleft-16.png" />
</div>
</div>
</script>

Alexander Popov
Telerik team
 answered on 25 Aug 2016
10 answers
236 views
Hello again :)

I have a scrollview working properly in my app.

When doing beta testing, my beta testers told me they don't understand that the element is "swipable" and that they can interact with it. They just think it is a static block and do not event try to swipe it.

To solve that matter, I would like to display a bit of the previous and following elements on the right and the left of the page so that they can see there are other elements on the side and they just have to swipe left or right to access it.

Is it doable with Kendo UI Or Can I simply find a work around with css ? Otherwise, what do you advise ? did you already faced this situation ?

Many Thanks
Kiril Nikolov
Telerik team
 answered on 25 Aug 2016
7 answers
1.1K+ views
His this possible?

My doubt is very simple. I would like that when the form is submit (on button click), if there is validation errors, every field in error should be marked with and asterisk (*) and a summary of messages should be displayed on some placeholder on the view. Is this possible out of the box or will it have to be implemented in some way?

This would be done using UI for ASP.NET MVC wrappers and data annotations on the models.

Thanks!
Rosen
Telerik team
 answered on 25 Aug 2016
3 answers
105 views

Hi,

As soon as I click in the Editor, it "refuses" to allow focus to leave it.

I'm stuck, in my UI form, not being able to click anything else on the form.

I can continue to type in the editor *but I cannot get out*.

The editor is on the pane of a kendo TabStrip, so one has to click the tab to reveal it before it gets stuck

This is just started to happen with kendo updates in the last year or so...

I realize you'll need a reproducing scenario but have you had anything similar to this, any ideas?

Vessy
Telerik team
 answered on 24 Aug 2016
2 answers
970 views

Hi.

I use kendo UI 2016 Q1 version: 2016.1.112

                    categoryAxis: {
                        field: "Subject",
                        majorGridLines: {
                            visible: false
                        },
                        labels: {
                            template: '#= <title>value</title> <b>value</b>#'
                        }
                    },

 

I use kendo template expression for raw html with value.

if label template raw html this will show value with bold and have tooltip when hover mouse to this.

Now after i update kendo Q1 2016 it not work. this work with old version 2015.

how to fix this ?.

 

 

Ehtesham
Top achievements
Rank 1
 answered on 24 Aug 2016
5 answers
421 views

Hi

I am trying to do a custom zoom with a dataSource. New data should be loaded with a higher resolution when zooming in and lower resolution when zooming out.

I am having trouble finding the new min and max values for the x-axis after the zoom. I would expect these to be somewhere in the zoom event object, but it seems hidden pretty well. Can anyone point me to them, like e.sender.? or e.axisRanges.valueOf(...?..)?

Thanks

Sune

 

Sune
Top achievements
Rank 1
 answered on 24 Aug 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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?