Telerik Forums
Kendo UI for jQuery Forum
1 answer
283 views
I need to design an organisation chart like the one you'll have in Telerik i.e. the RadOrgChart.
The chart should have draggable and droppable nodes.

But as I am using MVC I cannot handle the NodeDrop event of the RadOrgChart cause
 the event is handled in code behind.

Please help me with some alternate control in kendo.

Treeview is the closest control but I have to display a lot of data and treeview has a vertical view which doesn't give a good look and feel.
Alexander Valchev
Telerik team
 answered on 15 May 2013
1 answer
62 views
Hi,
I apologize if this is not the right forum, but I didn't find any bug report utilities inside kendoui.com.
To topic: according to the thread title, I think there is a bug inside the list-view when editing a listitem after the creation of a new one. Please feel free to proceed the following steps and see for yourself. The problem also appears when using the Kendo UI demo page:
http://demos.kendoui.com/web/listview/editing.html
Step 1: add a new item
Step 2: don't cancel creation and try to edit another record
Step 3: edit a second record without canceling the 2nd
Wright now the record from step 2 has overwritten the record from step 3, so that there are the same records twice inside the view. e.g. Chai - Chang - Chang - Chef Anton's Cajun instead of Chai - Chang - Aniseed Syrup - Chef Anton's Cajun

This behaviour has no effect on some sort of datasource or observable, these objects are ok. It seems to be a bug inside the listview widget itself.

Best regards
Thommy
Dimiter Madjarov
Telerik team
 answered on 15 May 2013
5 answers
1.5K+ views
Hello all,

I have a kendo window delete confirmation box I created.  The delete gets called on the click event of a button.   I want to add this button beside the usual buttons that come up in the editor template grid popup automatically  such as update cancel etc?   I tried adding the following to the template itself:


<a class="k-button k-button-icontext k-grid-update" href="\\#"><span class="k-icon k-update"></span>Update</a>
<a class="k-button k-button-icontext k-grid-delete" href="\\#"><span class="k-icon k-delete"></span>Delete</a>
<a class="k-button k-button-icontext k-grid-cancel" href="\\#"><span class="k-icon k-cancel"></span>Cancel</a>

But the other buttons still show up above these when I do that.   In the grid I have:

.Editable(ed => ed.Mode(GridEditMode.PopUp).TemplateName("CustomerTemplate").Window(w => w.Title("Customer Detail").Name("editWindow").Width(850).Height(565)))



Iliana Dyankova
Telerik team
 answered on 15 May 2013
1 answer
223 views
Hi

I've a datasource 'groups' in a viewmodel, which I bind to a kendo-listview.
No I want to bind that same datasource to a second simple ul-element, but unfortunately that doesn't seem to work. What am I doing wrong here? 

All I get is a weird element inside the ul with some javascript in it.

<ul id="groupViewSelect" data-bind="source: groups" class="dropdown-menu" data-auto-bind="false">
</ul>
<script id="selectViewTemplate" type="text/x-kendo-tmpl">
    <li><span data-bind="text: Name"></span></li>
</script>
contactsGroupDataSource = new kendo.data.DataSource({
        transport: {
            read: {
                url: "api/contactgroups"
            }
        },
        schema: {
            model: {
                fields: {
                    Number: { type: "integer" },
                    Name: { type: "string" }
                }
            }
        }
    });
viewModel = kendo.observable({
        groups: contactsGroupDataSource
    });
Alexander Valchev
Telerik team
 answered on 15 May 2013
2 answers
314 views
Hi everyone,

I would like to display two horizontal lines for minimum and maximum values of a series in a chart. My current approach is to find the min and max values by hand and create two additional series where all points have the same value. The visual result is ok, but since I am refreshing the chart every couple of seconds the performance is not very good on mobile devices. Is there a way to create those horizontal min/max lines differently or is it possible to create a series with just two points that fills to complete width of the chart?

Best regards,

Pascal
Pascal
Top achievements
Rank 1
 answered on 15 May 2013
9 answers
479 views
Hi,

Is there anyway to always display NavBar on the top in all devices?

Thanks,
Dan
Kamen Bundev
Telerik team
 answered on 15 May 2013
1 answer
509 views
Hi,
I am retrieving  data from database into JSON object using $.ajax method. I want to bind that data to listview. I am using following example. but in following example json has read from the file but I don't .json file I've an object which I need to bind. Can anyone tell me how to bind json object.
<script type="text/javascript">
    var clientData = null;
    // Urls to access the WCF Rest service methods
    var GetClientUrl = "http://localhost:1000/Service/GetClients/agentId=AG9898";


    function initListView() {
        $.ajax({
            cache: false,
            type: "GET",
            async: false,
            dataType: "json",
            url: GetClientUrl,
            success: function (clients) {
                if (clients != null && clients != "undefined") {
                    clientData = clients.Clients;
                }
            },
            error: function (xhr) {
                clientData = null;
                alert(xhr.responseText);
            }
        });

        var ds = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "team.json", //Here instead reading a data from file it should read from json object i.e. clientData
                    dataType: "json"
                }
            },
            change: function () {
                //debugger;
            }
        });
        $("#fixed-listview").kendoMobileListView({
            dataSource: ds,
            template: "#:SortName#"
        });
    }
</script>

Alexander Valchev
Telerik team
 answered on 15 May 2013
1 answer
85 views
I have a situation where I would like the AutoComplete control to populate a specific ul element rather than the default drop down list. Here is a jsfiddle that demonstrates what I am trying to do.

This works OK to a point, but I notice the list loses pretty much all of the functionality that the AutoComplete drop down list has, such as keyboard navigation and item select events.

Is there any way to make this work without sacrificing so much functionality?
Georgi Krustev
Telerik team
 answered on 15 May 2013
3 answers
709 views
I have a multi select control which allows users to select items, I save the selected items to a database. When the page is next loaded I want to retrieve the list of items from a remote data source but also set the currently selected items.

My code is:

  $('#componentList').kendoMultiSelect(
        {
            autoBind: false,
            dataTextField: 'COMPONENT_NAME',
            dataValueField: 'COMPONENT_ID',
            dataSource: {
                transport: {
                    read: {
                        url: '/Data/GetData'
                        dataType: 'json'
                    }
                },
                schema: {
                    data: function (data) { //specify the array that contains the data
                        return data.fullList;
                    }
                }
        });

As you can see my web service returns the data in the field fullList, I also have another field called selectedList on my datasource.  How do I set the values from that?  Do I have to do a seperate ajax call to get the selected data or can this be done in a single server round trip?

Thanks.
Georgi Krustev
Telerik team
 answered on 15 May 2013
1 answer
190 views
Hi,

Will there be any bubble count like jQuery's  http://jquerymobile.com/demos/1.2.0/docs/lists/lists-count.html any time soon ?

Thanks
Iliana Dyankova
Telerik team
 answered on 15 May 2013
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?