Telerik Forums
Kendo UI for jQuery Forum
8 answers
235 views
Hi
I can't get the NumericTextBox to work in my MVC project.
When I increase or decrease the number, the field loose its focus and show the formattet result.
It seams that the problem is the absolute reference with the css and js files. When I test the code in a local directory with relative references to css and js, everything works. But not from my MVC project.
I have tried the MVC extensions from codeplex.com, and it seams that they also have the same problem.
Any help?
Allan
TazDeveloper
Top achievements
Rank 1
 answered on 22 Dec 2011
1 answer
214 views

Could you please set me straight?  I am initializing and kendo combobox with a simple call to kendoComboBox() which is causing it to load it's list from the select list that is rendered in html output which is great.  I then come along later and trigger a refresh of that list via the following function based on the selection of another combobox...
IIHS.EditPlanningVehicle.RefreshSeries = function (planningYear, makeName) {
    //Load a new list of options for vehicle definitions
    $.getJSON($("#mainForm #LoadNewListFormat").val().replace("makeName", makeName).replace("planningYear", planningYear),
        function (data) {
            $("#SourceVehicleVariantsId").kendoComboBox(data);
        });
};

This works mostly, but ends up creating a second dropdown element when clicking on the dropdown button for the combobox.  Is there a better way I can assign a new list to the dropdown, or do I need to switch to using dataSources?

Thanks.






Petyo
Telerik team
 answered on 22 Dec 2011
4 answers
355 views
I have a modal window containing several anchors. After clicking one of the anchors I need the new content to display in the existing modal window. I have tried several known methods to make this work, but all result in the creation of a new window - as if the target had been set to _top rather than _self. Any guidance is appreciated.
Chris
Top achievements
Rank 1
 answered on 21 Dec 2011
0 answers
152 views
I modified the ā€œDetail Gridā€ which can be found here:


To use this example with a couple of Java actions instead of the RSS feed. However, I'm having problems filtering the detail data because of the fact that I’m omitting the type: "odata" in my HTML.



So, the original Employees data source looked like this:

dataSource: {
    type: "odata",
    transport: {
    },
    pageSize: 5,
    serverPaging: true,
    serverSorting: true
},




The original Orders data source looked like this:

dataSource: {
    type: "odata",
    transport: {
    },
    serverPaging: true,
    serverSorting: true,
    serverFiltering: true,
    pageSize:6,
    filter: { field: "EmployeeID", operator: "eq", value: e.data.EmployeeID }
},




The modified Employees data source looks like this:

dataSource: {
    transport: {
        read:  {
            url: "/site/GetEmployee.action",
            dataType: "json",
        },
    },
    pageSize: 5,
    serverPaging: true,
    serverSorting: true
},




The modified Orders data source looks like this:

dataSource: {
    transport: {
        read:  {
            url: "/site/GetOrders.action",
            dataType: "json",
        },
    },
    serverPaging: true,
    serverSorting: true,
    serverFiltering: true,
    pageSize:6,
    filter: { field: "EmployeeID", operator: "eq", value: e.data.EmployeeID }
},


You’ll notice that I had to make the change to: dataType: "json", in order for this example to work.

Also, if you look inside ā€œkendo.all.jsā€, you’ll notice that ā€œfilter: { }ā€ will only work with ā€œodataā€.

Now, any ideas how I can get my sample to work with filtering?
Leo
Top achievements
Rank 1
 asked on 21 Dec 2011
1 answer
422 views

In the Web demos section, there is a grid which displays its data in a master/detail type format. The demo I’m referring to can be found here:

 

The grid pulls the data from the following services/feed:

 
http://demos.kendoui.com/service/Northwind.svc/Employees?$format=json&$inlinecount=allpages&$callback=callback&$top=5
  
http://demos.kendoui.com/service/Northwind.svc/Employees%281%29/Orders?$format=json&$inlinecount=allpages&$callback=callback&$top=5

Is there a sample of this same grid using JSON or XML which is either returned from an object or is store statically inside the page?

 
Thanks,

 

Leo
Top achievements
Rank 1
 answered on 21 Dec 2011
0 answers
153 views
Hi,

I have a pie chart and grid using a shared remote datasource and I'd like to have the corresponding pie slice explode when the user clicks (or hovers over) an item in the grid.  As it stands I'm using the change event in the grid and altering the underlying datasource's Explode field and refreshing the pie chart, but that clears my grid settings (current selection,sort,etc) and triggers each slice of the pie chart to re-animate.  Any thoughts on how to accomplish without refreshing the entire pie chart?

I'm loving the library so far, great work!  Thanks!

Lars
Top achievements
Rank 1
 asked on 21 Dec 2011
0 answers
47 views
when i wan't to see these demos:
http://demos.kendoui.com/web/overview/index.html
http://demos.kendoui.com/dataviz/overview/index.html
http://demos.kendoui.com/themebuilder/index.html

demos doesn't work.
 I'm using firefox 9.
I tried with Chrome 16.0.912.63 too but
i'm attaching images.
do i have to configure something on the explorer?.

Thank you.
José
Top achievements
Rank 1
 asked on 21 Dec 2011
1 answer
1.2K+ views
is there a way to change a css "corner-radius" to grid... the atributes "k-grid-header" or "k-grid" dont work?
Dimo
Telerik team
 answered on 21 Dec 2011
2 answers
117 views
Below code is working in ff and chrome but throwing error in ie

gridMain = $("#gridMain").kendoGrid({
    dataSource: dsMain,
    height: 500,
    filterable: true,
    scrollable: true,
    pageable: false,
    selectable: 'row',
    sortable: true,
    columns : [
                {
                    field: "dt",
                    title: "Tarih",
                    width: "120px"},
                {
                    field: "defi",
                    title: "AƧıklama"},
                /*{
                    field: "amn_tot",
                    title: "Toplam Tutar",
                    width: "120px"},*/
                {
                    field: "id",
                    title: "İşlemler",
                    template: actionTemplate,
                    width:  "130px"}
                ],
 
    change : function(e) {
        selectedRows = [];
        for (var i = 0, l = this.select().length; i < l; i++) {
            var xid = this.select()[i].dataset.id;
            selectedRows.push(xid);
        };
         
        //console.log(selectedRows);
         
        /*
        console.log(this.dataSource.view()[this.select()
                                           .index()]["id"]);
        */                                
    }
});    

Am I missing sth ?
Cagatay
Top achievements
Rank 1
 answered on 21 Dec 2011
4 answers
194 views
Hi

is there any code assist for any of the popular IDE's ie: vs2010, textmate etc

cheers

Jason
Kamen Bundev
Telerik team
 answered on 21 Dec 2011
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawer (Mobile)
Drawing API
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?