Telerik Forums
Kendo UI for jQuery Forum
7 answers
129 views
Hello,

I need to have a value Axis in stock chart, that needs to be static, which means have a fixed range and labels and never change with the navigation. I have control over min & max values of an value Axis but those are loosely defined, I need a strict fixed min max values set for valueAxis. Is this possible? If so what is the way to achieve this. Thanks =)
Hristo Germanov
Telerik team
 answered on 28 Apr 2014
1 answer
133 views
Anyone know of a reference application that uses Kendo UI and TypeScript?  

Richard
Top achievements
Rank 1
 answered on 26 Apr 2014
1 answer
126 views
Hello,

My testing code:  http://trykendoui.telerik.com/ObaV

It's happened When I created new task, and I want to edit it,
but I think the Popup window is not edit-window, 
because it doesn't have the 'Delete' button.

When I clicked the 'Cancel' button, 
the task I created would be removed!

It doesn't happen if I set dataSource with transport.
Does any configuration I need to set?

Thanks for your help,
Ming
Alexander Popov
Telerik team
 answered on 25 Apr 2014
1 answer
171 views
There is problem with Cascading ComboBox in edit mode. When using for inserting new record – it’s working fine, allowing to choose City and then district in the city selected. When opening record for edit, then Child-ComboBoxFor is empty, although it has value assigned.
It seems that during initialization, Parent-ComboBoxFor reinitializing Child-ComboBoxFor and value is cleared. How to keep value during Edit?
I found some articles that similar issue was fixed in 2012 version and we are using latest version of Kendo UI for MVC.
Code sample is provided below.

Code for Parent-ComboBoxFor:

@(Html.Kendo().ComboBoxFor(model => model.CityId)
    .HtmlAttributes(new { id = Html.IdFor(m => m.CityId).ToString() })
    .DataTextField("CityName")
    .DataValueField("CityId")
    .Filter(FilterType.Contains)
    .DataSource(source =>
    {
        source.Read(read =>
            {
                read.Action(MVC.Object.ActionNames.Cities_Read, MVC.Object.Name);
            });
    })
)

Code for Child-ComboBoxFor:

@(Html.Kendo().ComboBoxFor(model => model.CityAreaId)
    .HtmlAttributes(new { id = Html.IdFor(m => m.CityAreaId).ToString() })
    .Placeholder("Choose area...")
    .DataTextField("Name")
    .DataValueField("Id")
    .Filter(FilterType.Contains)
    .DataSource(source =>
    {
        source.Read(read =>
        {
            read.Action(MVC.Object.ActionNames.GetCascadeCityAreas, MVC.Object.Name).Data("filterCityAreas");
        })
        .ServerFiltering(true);
    })
    .Enable(false)
    .AutoBind(false)
    .CascadeFrom(Html.IdFor(m => m.CityId).ToString())
)<script>
    function filterCityAreas() {
        return {
            cityId: $("#@Html.IdFor(m => m.CityId)").val(),
            cityAreasFilter: $("#@Html.IdFor(m => m.CityAreaId)").data("kendoComboBox").input.val()
        };
    }
</script>
Vladimir Iliev
Telerik team
 answered on 25 Apr 2014
1 answer
315 views
i have a list view and it is getting populated with remote data, the kendoPage with the exact same datasource comes
back as no items to display.

HTML
<div class="layout-section">
        <div id="layoutView"></div>
        <div id="pager" class="k-pager-wrap" ></div>
</div>
 
<script type="text/x-kendo-template" id="template">
        <div class="product">
                <img src="#= Layoutfilepath #" alt="#= LayoutName # Layout" />
                <h3>#=LayoutName# Layout</h3>
                <p>#:kendo.toString("Select Layout")#</p>
         </div>
</script>

Scripting

var layouts2 = new kendo.data.DataSource({
                    transport: {
                        read: {
                            url: "Default.aspx/GetLayouts",
                            contentType: "application/json; charset=utf-8",
                            type: "POST",
                            dataType: "json"
                        }
                    },
                    schema: {
                        data: "d"
                    },
                    pageSize: 1
                });
                 
                $("#layoutView").kendoListView({
                    dataSource: layouts2,
                    template: kendo.template($("#template").html()),
                    selectable: "single"
                });
 
                $("#pager").kendoPager({
                    dataSource: layouts2
                })


Any thoughts
Alexander Valchev
Telerik team
 answered on 25 Apr 2014
1 answer
80 views
Hi,

Please find the demo here 

http://jsfiddle.net/8tzgc/136/

Create/Update Doesn't fire in above Demo. Can any one you suggest.

Here is the error we get locally.

Thanks,
Chatrapathi Chennam
Rosen
Telerik team
 answered on 25 Apr 2014
4 answers
462 views
Hello,

I created a small SPA using Kendo web and the MVVM pattern, but i'm having problems getting validation to work.
So i have a view which binds to a viewmodel using kendo.bind(view, viewmodel).
and example of a domain object (client side) would be like this:
var User = kendo.data.Model.define({
    id: "id",
    fields: {       
        id: {
            editable: false,
            nullable: true
        },
        username: {
            type: "string",
            validation: {
                required: true
            },
            defaultValue: ""
        },
        password: {
            type: "string",
            validation: {
                required: true
            },
            defaultValue: ""
        }
    }
});

and my viewmodel:
var vmLogin = function () {
    var _userName = "";
    var _password = "";
 
    var _user = new User();
    
    var _submitLogin = function () {
    }
 
    var _init = function () {
    }
 
    return {
        Init: _init,
        User: _user,
        Submit: _submitLogin
    }
}

I'm using data-bind in my view to bind to my viewmodel.
Is it possible to apply a Kendo validator to my view using the rules from my Model ?

Thanks in advance.
Alexander Valchev
Telerik team
 answered on 25 Apr 2014
1 answer
123 views
See the attached image where there are two rows in the data set. One have 23 count and other having 0 count. When the pie chart is plotted and then clicked on the legend (that has 23 Count ) to deselect it the pie chart renders the 0 count in a weird way.

The expected behavior is that the Pie Chart is blank.
Iliana Dyankova
Telerik team
 answered on 25 Apr 2014
9 answers
796 views
Pretty simple issue. I can do this. I can see that the 2nd modal opened but it is behind the first modal. I tried by setting z-order but it didn't seem to have an effect.

Any solutions?
Don
Top achievements
Rank 1
 answered on 24 Apr 2014
2 answers
136 views
Is there a way to preserve the UID of ObservableObject's in an ObsrevableArray passed to a TreeView's dataSource?

I want to have a TreeView and ListView that share some observables. This way changing one would change the other too. It works if I pass the same ObservableArray in and bind ListView second, but I want them to have slightly different subsets.

I have a jsfiddle demonstrating the issue: http://jsfiddle.net/zNLNy/1187/

Thanks
Danny
Danny Fritz
Top achievements
Rank 1
 answered on 24 Apr 2014
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
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
+? 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?