Telerik Forums
Kendo UI for jQuery Forum
1 answer
202 views
When updating a field directly bound to a model both the Set and Changed events on the model are triggered. However when I update a field that has beeen bound using a template, only the changed event is triggered.
I guess I'm doing something wrong.
An example of the issue is here
http://jsfiddle.net/stephenrjames_uk/K8Q6D/3/

If you update the Template Field you will see just the changed event firing whereas updating the bound field triggers 1 set and 3 changed events.
Alexander Valchev
Telerik team
 answered on 11 Sep 2012
0 answers
117 views
hello,

I  use the codeigniter php mvc.

I seed the Endless scrolling remote url is http://search.twitter.com/search.json?q=javascript&rpp=10&page=1

and page++ , but I use the codeigniter , it just work at like http://search.twitter.com/search.json/javascript/10/1 , can't use get parameter.

how can I solve it?

sorry for my bad english.
Vence
Top achievements
Rank 1
 asked on 11 Sep 2012
1 answer
138 views
ListView selection demo is not working when using jquery 1.8.1 (1.7.1 works well).
Is there any quickfix for this issue? 
Thanks,
-Kirill.
Iliana Dyankova
Telerik team
 answered on 11 Sep 2012
1 answer
260 views
Hello,

Consider the following code we tried out in the Dojo:

// Add chart configuration code
$("#donut").kendoChart({
    theme: $(document).data("kendoSkin") || "default",
    title: {
        text: "World population by age group and sex"
    },
    legend: {
        visible: false
    },
    seriesDefaults: {
        type: "column"
    },
    series: [{
        name: "0-19",
        stack: "Female",
        data: [1100941, 1139797]
    }, {
        name: "20-39",
        stack: "Female",
        data: [810169, 883051]
    }, {
        name: "0-19",
        stack: "Male",
        data: [-1155600, -1202766]
    }, {
        name: "20-39",
        stack: "Male",
        data: [-844496, -916479]
    }],
    seriesColors: ["#cd1533", "#d43851", "#dc5c71", "#e47f8f"],
    valueAxis: {
        labels: {
            template: "#= kendo.format('{0:N0}', value / 1000) # M"
        }
    },
    categoryAxis: {
        categories: [1990, 1995]
    },
    tooltip: {
        visible: true,
        template: "#= series.stack #s, age #= series.name #"
    }
});

It's just a short version of the demo code for stacked and grouped bars, but once you get into negative values, some of them stack up as positive instead of negative...

See screenshot too.

Thanks!
T. Tsonev
Telerik team
 answered on 11 Sep 2012
1 answer
133 views
I have a grid that is formatting the dates correctly when the grid initially loads.  We have a toolbar with a drop down that will send a request to the server to fetch new data.  When I insert the returned data into the grid, the date formatting goes away.  

I included a small example of what is happening.  The "Bind to Data Source" button is replacing the data through the kendo.data.DataSource object and the "Bind to Grid Data" button is replacing the data through the grid's datasource (I know it's essentially the same thing but I thought I'd try both methods anyway).

The only thing I can think of is if I destroy the grid and render a new one every time I fetch data.  That's not a horrible problem but I didn't know if there was a more elegant way of doing this.

Thanks!

Here's a fiddle: http://jsfiddle.net/schapman/ypKrC/1/ 
Nikolay Rusev
Telerik team
 answered on 11 Sep 2012
1 answer
162 views
Hi,

I am receiving an error in the grid navigator after I update the datasource and refresh a grid.

To update the dataSource in a Grid I do this:
MyGrid.dataSource.data(myDataSource);
MyGrid.refresh();

 When I first create my grid everything works fine, but after the update above, when I click on a page number I receive the following error:
DOM Exception: NOT_FOUND_ERR (8)

The error occurs inside kendo.ui.all.min.js in the statement c.table[0].replaceChild(i,c.tbody[0]).

Can you help me ???
Jendusak
Top achievements
Rank 1
 answered on 11 Sep 2012
1 answer
127 views
Recently i start work with titanium for developing ios apps and androis apps , so i want to know is this kendoUI support titanium ,
if Yes then how to configure it in mac os. ?

which is better platform for developing ios and android apps and games? [ optional question]
Ali
Top achievements
Rank 1
 answered on 11 Sep 2012
1 answer
136 views
If I don't use a template, the register icon shows correctly.

Here's a fiddle with my issue - http://jsfiddle.net/schapman/VzbaN/ 
Nikolay Rusev
Telerik team
 answered on 11 Sep 2012
1 answer
253 views
Hi,

I have a little problem. It's certainly not difficult but i don't find a solution.
I have a combobox with the list of month. Below this combobox i have a grid whiwh is reading the fetch.php
I would select a month in the combo box and send the value to fetch.php (for an example : janvier -> 1) and the grid would be refreshed with this new parameter.
i tried with  :
<h3>Choisissez le mois</h3>
            <input id="input" placeholder="Select fabric..." />
 
            <button class="k-button" id="valid">Valider</button>
         
            <script>
                $(document).ready(function() {
                    // create ComboBox from input HTML element
                    $("#input").kendoComboBox({
                        dataTextField: "text",
                        dataValueField: "value",
                        dataSource: [
                            { text: "Janvier", value: "1" },
                            { text: "Février", value: "2" },
                            { text: "Mars", value: "3" },
                            { text: "Avril", value: "4" },
                            { text: "Mai", value: "5" },
                            { text: "Juin", value: "6" },
                            { text: "Juillet", value: "7" },
                            { text: "Août", value: "8" },
                            { text: "Septembre", value: "9" },
                            { text: "Octobre", value: "10" },
                            { text: "Novembre", value: "11" },
                            { text: "Décembre", value: "12" }
                        ],
                        filter: "contains",
                        suggest: true,
                        index: 0
                    });
 
                    // create ComboBox from select HTML element
                    $("#select").kendoComboBox();
 
                    var input = $("#input").data("kendoComboBox");
 
                    $("#valid").click(function() {
                        $.get("data/fetch.php", { mois:input.value()} );
                        alert(input.value())   
                        });
                    });
            </script>
alert() is ok but $.get doesn't work. If i wrote the $_GET['mois'] in fetch.php the result is ok.
Thanks a lot for your help
jules
Top achievements
Rank 1
 answered on 11 Sep 2012
0 answers
443 views

::Edited :: Solved by changing  Inherits="System.Web.Mvc.ViewPage<MVC3TelerikDemo.Models.Department>"

To

Inherits="System.Web.Mvc.ViewPage<IEnumerable<MVC3TelerikDemo.Models.Department>>"

Hi,

I am new with Telerik and trying to bind Linq.Table to the Kendo Dropdown. Following is the code.

-------Action Method---------

public ActionResult DropDownList()
{
DepartmentsDataContext context = new DepartmentsDataContext();
return View(context.Departments);

--------View Page--------

<%: Html.Kendo().DropDownList()
.Name("ddlDept")
.DataTextField("Name")
.DataValueField("DepartmentID")
.BindTo(Model)
.SelectedIndex(0)
%>

I get the following error:  CS1502: The best overloaded method match for 'Kendo.Mvc.UI.Fluent.DropDownListBuilder.BindTo(System.Collections.Generic.IEnumerable<Kendo.Mvc.UI.DropDownListItem>)' has some invalid arguments

Thank you.

Yeou

Yeou
Top achievements
Rank 1
 asked on 11 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
Licensing
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?