Telerik Forums
Kendo UI for jQuery Forum
0 answers
57 views
When I insert a new record in popup mode, for some fields does not change the status (red triangle), the value is not updated and the data is transmitted "empty" to the webservice.
If I press "backspace", the field changes status to "modified" (red triangle) and sent to the webservice.
In the "2012.2.814" worked well.

Thank you.
Michele.
Mike
Top achievements
Rank 1
 asked on 18 Nov 2012
1 answer
116 views
How do you suggest cache busting remotely loaded views?
Jonathan
Top achievements
Rank 1
 answered on 18 Nov 2012
0 answers
98 views
the refresh() method seems not working, it actually add the view instead of replace it.

here is an example: 
http://jsfiddle.net/fnH58/13/

it adds "123" text to the list instead of replace all text to "123".
Jay
Top achievements
Rank 1
 asked on 18 Nov 2012
0 answers
86 views
Ken
Kendo grid with a editor template containing kendo numberc text box with decimal modeltype is not sending data to controller on save when ie language is set to "fr".
Surabhi
Top achievements
Rank 1
 asked on 17 Nov 2012
0 answers
82 views
How to open a kendoui windows in panelbar when click on an panelbar item
Deneme
Top achievements
Rank 1
 asked on 17 Nov 2012
0 answers
111 views
I have tried tons of different remote data formats and still can't figure out what format the kendo stacked bar chart requires. I am trying to make a chart with 14 bars, stacked 24 high, each piece of the stack being the same height, representing an hour of the day and I want each piece to be color coded by a color value I pass in from the server.
What format does the data coming from the server need to look like?
jonny
Top achievements
Rank 1
 asked on 17 Nov 2012
1 answer
185 views
Hi,

I need to use my current ASP Net forms authentication with Kendo UI Mobile. Any ideas on how to make it work? I can't find any posts or tutorials around this.
Chris
Top achievements
Rank 2
 answered on 17 Nov 2012
2 answers
119 views
the KENDO UI  version 2012.2.913  work in the latest version ASP .NET MVC 4 with Visual Studio 2012 pro?

Thanks.
Dan
Top achievements
Rank 1
 answered on 17 Nov 2012
1 answer
98 views
Hii, i have some problem with updating data on data grid.
If in a first time adding data and than that new data is updated, that data not update but adding new data,
If page is reloaded or in a first time will be update data, update process is working.

this my script :
$(document).ready(function() {
    dataSource = new kendo.data.DataSource({
           transport: {
              read: {url:"<?=base_url()?>/bank"},
              create: {url:"<?=base_url()?>/bank/create",type:"POST"},
              update: {url:"<?=base_url()?>/bank/update", type:"POST"},
              destroy: {url:"<?=base_url()?>/bank/destroy",type:"POST"},
            },
            batch: true, pageSize: 25,
            schema: {
                model: {
                    id: "id_bank",
                    fields: {
                        nama_bank: { type: "string" },
                    }
                }
            }
    });
    //kendo grid
    $("#grid_bank").kendoGrid({
        dataSource: dataSource, editable:  "popup", height: 450,
        filterable: true, sortable: true, pageable: true,
        toolbar: ["create"],
        columns: [
            { field: "nama_bank",title: "Nama", filterable: true },
            { command: ["edit", "destroy"], title: " ", width: "160px" }
        ]
    });
});

main problem : update process can't be working again after create process is execute, and always execute create process when it will do updating data.

Thank
Deepak kumar
Top achievements
Rank 1
 answered on 17 Nov 2012
3 answers
537 views
Hi, i can not paging the grid result, the data is ok, but the paging not work, please help my:
This is my code page aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="WebApplication3._default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Griglia</title>   
        <script type="text/javascript" src="Scripts/KendoUi/jquery.min.js"></script>
    <script src="Scripts/KendoUi/kendo.all.min.js" type="text/javascript"></script>
        <link href="Styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
        <link href="Styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
         <style>
                #clientsDb {
                    width: 692px;
                    height: 393px;
                    margin: 30px auto;
                    padding: 51px 4px 0 4px;
                    background: url('../Images/clientsDb.png') no-repeat 0 0;
                }
            </style>
            
</head>
<body>
    <form id="form1" runat="server">
    <div id="example" >
            
             <div id="clientsDb">

                <div id="grid"></div>

            </div>
    </div>
        <script type="text/javascript">
           
            $(function () {
                $("#grid").kendoGrid({                    
                    dataSource: {                       
                        schema: {
                            data: "Comuni", total: "TotalCount", // ASMX services return JSON in the following format { "d": <result> }. Specify how to get the result.                           
                            model: { // define the model of the data source. Required for validation and property types.
                                id: "CapComId",
                                fields: {
                                    CapComId: { editable: false, nullable: true },
                                    CapComCod: { validation: { required: true} },
                                     CapComCom: { validation: { required: true} }
                                }
                            }
                         },                                          
                        
                        transport: {
                            
                            read: {
                                url: "default.aspx/ListaComuni", //specify the URL which data should return the records. This is the Read method of the Products.asmx service.
                                contentType: "application/json; charset=utf-8", // tells the web service to serialize JSON
                                type: "POST" //use HTTP POST request as the default GET is not allowed for ASMX
                            },
                            parameterMap: function (data, operation) {
                                if (operation != "read") {
                                    // web service method parameters need to be send as JSON. The Create, Update and Destroy methods have a "products" parameter.
                                    return JSON.stringify({ comuni: data.models})
                                }
                            }
                        },
                         serverPaging: true,                           
                         serverFiltering: true,
                         pageSize:6
                    },
                    height: 300,
                    groupable: true,
                    scrollable: true,
                    sortable: true,
                    pageable: true,
                    columns: [{
                        field: "CapComCod",
                        width: 90,
                        title: "Cap"
                    }, {
                        field: "CapComCom",
                        title: "Comune"
                    }
                        ]
                });
            });

    </script>
    </form>
</body>
</html>
and page code c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Services;
 
namespace WebApplication3
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
 
        }
 
        [WebMethod]
        public static IEnumerable<Comuni> ListaComuni()
        {
            using (var northwind = new DataClasses1DataContext())
            {
                 
                var lista = northwind.CAPCOM.Where(row=> row.CapComId<100)
                    // Use a view model to avoid serializing internal Entity Framework properties as JSON
                    .Select(p => new Comuni()
                                     {
                                        CapComId = p.CapComId,
                                        CapComCod = p.CapComCod,
                                        CapComCom = p.CapComCom
                                     })
                    .ToList();
 
 
 
                return lista;
            }
        }
         
        public class Comuni
        {
            public int CapComId { get; set; }
            public string CapComCod { get; set; }
            public string CapComCom { get; set; }
            public int Total { get; set; }
        }
    }
}

The data is show ok , but the paging show 1 and not work..

I can not understand how I do, I help?
Thanks
Aurelio
Dan
Top achievements
Rank 1
 answered on 17 Nov 2012
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
Drawing API
Drawer (Mobile)
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?