Telerik Forums
Kendo UI for jQuery Forum
0 answers
117 views
Hi,
 i am new to kendoui  and i would like to suggest that the current ASP.NET controls should be using KendoUi instead of integrating asp controls with kendoui manually it should be supported as they are from same company. i.e i can use the grid and i can chose between kendoui grid , Telerik Grid or normal asp grid.

Regards,
Owidat
Owidat
Top achievements
Rank 2
 asked on 27 May 2012
0 answers
146 views
Hi,

We are evaluating Kendo UI and I have a question regarding Listview.
is it possible to display a Listview inside another Listview? If so, can you please provide a sample?

Thanks,

Indira
Top achievements
Rank 1
 asked on 27 May 2012
1 answer
671 views
HI,

I am following http://demos.kendoui.com/web/grid/editing-popup.html example of  yours and in my case i have one checkbox(Notify) and two number type columns(Notification Amount & Performed Every). what i want to do is disabling the two number type columns(Notification Amount & Performed Every) when checkbox type column(Notify) is is unchecked and enabling these when checkbox is checked..

The code is as follows:

 var dataSourceForAssetType = new kendo.data.DataSource({
            transport: {
                read: {
                    url: '@Url.Action("AssetType", "Home")',
                    dataType: "jsonp"
                },
                destroy: {
                    url: '@Url.Action("DeleteAssetType", "Home")',
                    dataType: "jsonp"
                },
                create: {
                    url: '@Url.Action("CreateAssetType", "Home")',
                    dataType: "jsonp"
                },
                update: {
                    url: '@Url.Action("UpdateAssetType", "Home")',
                    dataType: "jsonp"
                },
                parameterMap: function (options, operation) {
                    if (operation !== "read" && options.models) {
                        return { models: kendo.stringify(options.models) };
                    }
                }

            },
            pageSize: 5,
            schema: {
                model: {
                    id: "AssetTypeID",
                    fields: {
                        AssetTypeID: { editable: false },
                        Description: { validation: { required: true} },
                        Notify: { type: "boolean" },
                        NotificationAmount: { type: "number" },
                        PerformedEvery: { type: "number" }
                    }
                }
            }
        });

        $("#grdAssetType").kendoGrid({
            dataSource: dataSourceForAssetType,
            pageable: true,
            resizable: true,
            groupable: true,
            toolbar: ["create"],
            columns: [
                { field: "Description", title: "Description" },
                { field: "Notify", title: "Notify ?" },
                { field: "NotificationAmount", title: "Notification Amount(Days)" },
                { field: "PerformedEvery", title: "Performed Every(Days before due)" },
                { command: ["edit"], title: " ", width: "100px" },
                { command: ["destroy"], title: " ", width: "100px"}],
            editable: "popup"
        });

How can i achieve these.

I Have also applied my custom editor for the checkbox column with custom attribute so to recognize the textbox and change the behaviour with the jquery.attr property like below:

editor: function (container, options) {
                        $('<input type="checkbox" myattr="notifyattr" name="' + options.field + '"/>')
                            .appendTo(container);
                    }
but now i am losing binding for this field.

Can you please help me out with the solution for this?
charan
Top achievements
Rank 1
 answered on 26 May 2012
1 answer
142 views
Hi, how do i get values for the GROUP aggregates to use in my own function.  This works with grid aggregates but I can't access the group aggregates for field "channel".

group: {
     field: "channel", aggregates: [
        { field: "sales_7_days", aggregate: "sum" },
        { field: "current_inventory", aggregate: "sum" }
         ]
},

Then in the field:
groupFooterTemplate: "#=kendo.toString(doMath('weeks_inventory'), 'n1')#"

The function doMath is using ds.aggregates() which works for grid level but not for group level!

Please help!
Thanks!
Sal
Top achievements
Rank 1
 answered on 25 May 2012
5 answers
270 views
When constructing a treeview, is it possible for me to provide a template to use when rendering the data provided in the dataSource object?
Mike
Top achievements
Rank 1
 answered on 25 May 2012
1 answer
86 views
Hi Guys,

Are there any limitations in storing local data in backend. Means how much data can we store in backend.

thanks,
prashant
Prashanth
Top achievements
Rank 1
 answered on 25 May 2012
3 answers
125 views
Hello,

I am using Kendo datasoure with kendo grid for inline editing.
When i add/create a new row, the new row is posted to my create URL(i am using post). my problem is in the query params, the value of the id field is zero, is there a way to make it empty or remove it from the query string, in some js event.before posting it to the create url.

Thanks.
Prashanth
Top achievements
Rank 1
 answered on 25 May 2012
2 answers
130 views
We are trying to use custom validation on our site.

We have some basic "required" fields. setup as so:
<div id="divOrderConfirmation" class="container">
                            <input type="checkbox" name="chkReadTerms" id="chkReadTerms" required="required"
                                validationmessage="Please read the terms and conditions" />
</div>


Then we create a validator and call validate like so:
var valConfirmation = $("#divOrderConfirmation").kendoValidator().data("kendoValidator");
if (!validator.validate()) {alert('Yoinks');}

When we try to access this simple page it goes crazy with any iPad or iPhone. Has anyone else had problems?

http://aligntoday.com//sales/register.aspx 

http://jsfiddle.net/grippstick/KHfMb/ 
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 25 May 2012
0 answers
88 views
Good morning.
In the grid there is a bug, when you have configured in a grid with paging virtualremote. It is grouped by a column and then scroll to page does, this makes several calls to the server and crashes. 

thanks 
Lerovi
Top achievements
Rank 1
 asked on 25 May 2012
2 answers
87 views
If I configure a datasource to query a web service (.asmx) with a group method, it sends a Request Body of

group%5B0%5D%5Bfield%5D=MaximoRequestNumber&group%5B0%5D%5Bdir%5D=asc

Which causes an Invalid JSON primitive error.  Is there a way to group the data without having the dataSource send the grouping option to the service?  I know that I can group in the grid's dataBound method, but if I refresh the dataSource, it sends the dreaded group string as non-JSON text in the Request Body and it errors.
var readOrdersSource = new kendo.data.DataSource({
    transport: {
        read: {
            url: webServiceBaseUrl + "getOrderedTransformers",
            contentType: 'application/json; charset=utf-8',
            type: "POST",
            dataType: "json"
        }
    },
    schema: {
        data: "d",
        model: {
            id: "id",
            fields: {
                id: { type: "number" },
                MaximoItemNumber: { type: "string" },
                MaximoRequestNumber: { type: "string" },
                AddedBy: { type: "string" },
                AddDate: { type: "datetime" },
                KVA: { type: "number" },
                PrimaryVoltage: { type: "string" },
                SecondaryVoltage: { type: "string" },
                OilType: { type: "string" },
                Phase: { type: "number" }
            }
        }
    },
    group: {
        field: "MaximoRequestNumber"
    },
    parameterMap: function (options) {
        return JSON.stringify(options)
    }
});
Cyndie
Top achievements
Rank 1
 answered on 25 May 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?