Telerik Forums
Kendo UI for jQuery Forum
1 answer
142 views
I posted a ticket on September 1st, I know its weekend, thus I waited until its business days! Now its more than 48 hours since business days started, and yet no response to my ticket. Keeping in mind that I have 48 hours dead line reply.

Its a great product, and support seemed fine on forums and its what made me buy the product. But once you buy, no more support?!

Update: Support replied to my ticket and apologized for the delay. 
Kamen Bundev
Telerik team
 answered on 05 Sep 2012
3 answers
586 views
Hi,
i need to add some new button on toolbar. 

I try to define a toolbar options like this

  toolbar: [{name:"Nuova Attività",  imageClass: "k-icon k-add" },
               { name: "Ricerca", className: "k-grid-ricerca", imageClass: "k-icon k-i-search" },
               { template: $j("#Toolbar").html() } 
],

....and the script template:

    <script type="text/x-kendo-template" id="Toolbar">    
<form id="frmSearch" name="frmSearch" style="display:none">
<label class="nome-label" for="nome">Nome:</label>
<input type="nome" id="nome" style="width: 130px"></input>
</form> 
    </script>

i try to select the custom class k-grid-ricerca but it doesn't work.

$j(".k-grid-ricerca").click(function(){
alert("hello");
});

do you have some solutions? Thanks
Fabio
Top achievements
Rank 1
 answered on 05 Sep 2012
1 answer
209 views
Hi,

I am a bit of a novice and was hoping to get some help with a line chart that I am working on.  The code for the chart is pasted below.  For whatever reason, I am unable to see the plotbands.  What am I doing wrong?

Thank you,
Jon

$("#change-in-temperature").kendoChart({
                //dataSource: stocksDataSource,
                series: [{
                    name: "Change in temperature",
                    data: [45, 52, 59, 50, 57]
                }],
                autoBind: false,
 
                seriesDefaults: {
                    type: "line",
                    overlay: {
                        gradient: "none"
                    },
                    markers: {
                        visible: false
                    },
                    majorTickSize: 0,
                    opacity: .8
                },
 
                seriesColors: defaultSeriesColors,
 
                valueAxis: {
                    plotBands: [{
                        from: -100,
                        to: 0,
                        color: "#000",
                        opacity: 0.9
                        }],  
                    min: -100,
                    max:100,
                    line: {
                        visible: false
                    },
                    title:{
                        text: "Change in temperature",
                        color: "#727f8e"
                    },
 
                    labels: {
                        format: "{0}",
                        skip: 2,
                        step: 2,
                        color: "#727f8e"
                    },
                    axisCrossingValue: -100,
                        majorUnit: 10,                   
            },
 
 
                categoryAxis: {
                    //field: "date",
                    categories: [
                                new Date("2011/12/30"),
                                new Date("2011/12/31"),
                                new Date("2012/01/01"),
                                new Date("2012/01/02"),
                                new Date("2012/01/03")
                            ],
                    labels: {
                        format: "MM/dd",
                        color: "#727f8e"
                    },
 
                    line: {
                        visible: false
                    },
 
                    majorTicks: {
                        visible: false
                    },
 
                    majorGridLines: {
                        visible: false
                    }
                },
 
                legend: {
                    visible: false
                },
                tooltip: {
                        visible: true,
                        format: "{0:NO}",                  
                        opacity: 1
                    },
            });


Hristo Germanov
Telerik team
 answered on 05 Sep 2012
0 answers
175 views
Hi,

  I want to impliment the multiselect dropdownlist   and bind the multiple values to data base.Is it possible to impliment multiselect dropdownlist in listview .How can I impliment multiselect dropdownlist in listview.
srinivas
Top achievements
Rank 1
 asked on 05 Sep 2012
0 answers
78 views
when at grid last row trigger input blur validate
then error message is show at bottom, but grid not auto scroll to,
so the message can not see.
maybe should like normal input's validate
used span to show the error message, 
not use div(grid used)
Andy
Top achievements
Rank 1
 asked on 05 Sep 2012
0 answers
146 views
I lifted the code from the demos and have a div class = k-widget.

Unfortunately its not showing up on my page. I've looked at the examples, put my JS in order that it should but the styling doesn't come out. Any ideas?
axwack
Top achievements
Rank 1
 asked on 05 Sep 2012
0 answers
224 views
Hello...I'm using the Razor syntax for creating my pie chart and am having problems figuring out how to explode a slice using a databound pie chart. Here is the code that I thought would work...the object that is feeding the Pie has 2 attributes: Label holds the name and Value holds the value.
@(Html.Kendo().Chart<InfoSource.Requests.Models.Graph>()
                            .Name("myallocation")
                            .Title(title => title
                                .Text("MY ALLOCATION")
                                .Font("16px Oswald")
                            )
                            .Theme("Silver")
                            .Legend(legend => legend
                                .Visible(false)
                            )
                            .ChartArea(chartArea => chartArea
                                .Background("transparent")
                            )
                            .DataSource(ds => ds
                                .Read(read => read.Action("dMyAllocation", "Dashboard", new { area = "InfoSource.Metrics" }))
                            )
                            .Series(series => {
                                series.Pie(model => model.Value, model => model.Label, null, model => model.Label == "Unassigned" ? true : false)
                                    .Labels(labels => labels
                                        .Template("${dataItem.Label}")
                                        .Visible(true).Position(ChartPieLabelsPosition.InsideEnd)
                                    );
                            })
                            .Events(events => events
                                .SeriesClick("myallocationClick")
                            )
                            .Tooltip(tooltip => tooltip
                                .Visible(true)
                                    .Template("${dataItem.Label} - ${value}%")
                            )
                            .HtmlAttributes(new { style = "max-height: 300px;" })
                        )

From what I can understand, the series syntax includes on option for true/false if the pie should explode or not. I have set mine up using the Label text so that if the Label text is "Unassigned", the pie piece should explode. This is not happening however.

Can you let me know if my syntax is correct or not? Thanks.
Philip Senechal
Top achievements
Rank 1
 asked on 04 Sep 2012
0 answers
256 views
Hi,
I'm very new to the MVVM framework and I'm running into problems with the grid.  If I set a static height for the grid the content area including the scroll bar does not respect the height.  The outline of the grid is correct.  I thought at first it was an issue with the parent div being set to display:none but I removed that and it still happens.  When I first load my grid it is loading one record and the scroll bar appears just slightly larger than that 1 row.  When I click the checkbox above it forces it to load 3 records and the content area/scroll bar remain at the same height and you can scroll it.  If I remove the static height the grid grows as more records are loaded which make the scroll bar useless because the grid is always showing all the records loaded. I have attached a couple of screen shots.  Am I the only one having this issue?

Thanks for any help that can be provided,
Casey


This is a single page app so each page starts off as it's own Div
<div id="CustomerListPage" style="min-width: 500px">
    <div style="width: 600px; margin-left: auto; margin-right: auto; text-align: right">Include Inactive?<input id="IncludeInactiveCheckBox" type="checkbox" data-bind="checked: includeInactive, events: {click: includeInactiveChanged}" /></div>
    <div id="CustomerListGrid" style="width: 600px; height:300px; margin-left: auto; margin-right: auto; margin-top: 10px" data-role="grid" data-selectable="row" data-columns='[{"field":"id", "title":"ID", "width":50}, {"field":"FullName", "title":"Name"}, {"field":"MailingAddressCity", "title":"City", "width":150}, {"field":"MailingAddressState", "title":"ST", "width":50}]' data-bind="source: customers"></div>
</div>


Here is the view model that controls that page
var CustomerListViewModel = kendo.observable({
 
    // properties
    customers: [],
    includeInactive: false,
        
    includeInactiveChanged: function (val) {
        this.load();
    },
     
    load: function () {
        var self = this;
 
        var dto = new DTO(true, '', new Object({ includeInactive: this.get("includeInactive") }));
 
        $.ajax('SysUserWebService.asmx/GetCustomerList', {
            data: JSON.stringify({ dto: dto }),
            type: 'post', contentType: 'application/json',
            success: function (result) {
                if (result.d.success) {
                    self.set('customers', result.d.payload);
                } else {
                    alert(result.d.message);
                };
            }
        });  
    }   
});

My binding occurs with the page's hash change
// routes the application based on hash changes
var HashChange = function () {
    HideAllPages();
 
    var query = location.hash.split("?");
    var hash = query[0];
 
    switch (hash) {
        case '':
            location.hash = '#MainMenu';
            break;
        case '#MainMenu':
            $('#MainMenuPage').show();
            break;
        case '#CustomerList':
            $('#CustomerListPage').show();
            kendo.bind($('#CustomerListPage'), window.CustomerListViewModel);
            window.CustomerListViewModel.load();
            break;
        case '#CrewList':
            $('#CrewListPage').show();
            break;
        case '#History':
            $('#HistoryPage').show();
            break;
    };
 
};
Casey
Top achievements
Rank 1
 asked on 04 Sep 2012
0 answers
113 views
duplicate of another post
sorry 
David OBrien
Top achievements
Rank 1
 asked on 04 Sep 2012
2 answers
112 views
I was playing around creating a template and came across this problem.  The template has two element, first with data-role of numeric text box, the second with grid.  The first element binds correctly, but the grid does not show up. 

I created a jsFiddle that demonstrates the behavior.  I had also tried making the items array an observable with no luck.

Phil
Top achievements
Rank 1
 answered on 04 Sep 2012
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
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?