sábado, 6 de septiembre de 2014

filtro kendo

http://jsfiddle.net/valchev/MG89G/

uritemplate server paging OK kendo crud

http://msdn.microsoft.com/en-us/library/bb675245%28v=vs.110%29.aspx
http://stackoverflow.com/questions/12928744/how-to-implement-server-side-paging-in-client-side-kendo-ui-grid-in-asp-net-mvc
http://www.telerik.com/forums/grid-pageable

OK articulo lado del servidor
http://blogs.telerik.com/kendoui/posts/14-01-02/kendo-ui-open-sources-dynamic-linq-helpers
 kendo
http://www.codeproject.com/Articles/606428/Kendo-UI-All-about-Web-Widgets
CRUD
http://jsfiddle.net/UtQuG/37/


http://www.datatables.net/examples/data_sources/server_side.html
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/phpintegration/php-server-side-grid-paging-and-filtering.htm
https://www.udemy.com/blog/php-pagination-tutorial/

el atributo data en JQUERY HTML5

http://api.jquery.com/data/
http://stackoverflow.com/questions/7261619/jquery-data-vs-attr

interesante

If you are passing data to a DOM element from the server, you should set the data on the element:
<a id="foo" data-foo="bar" href="#">foo!</a>
The data can then be accessed using .data() in jQuery:
console.log( $('#foo').data('foo') );
//outputs "bar"
However when you store data on a DOM node in jQuery using data, the variables are stored in on the nodeobject. This is to accommodate complex objects and references as storing the data on the node element as an attribute will only accommodate string values.
Continuing my example from above:
$('#foo').data('foo', 'baz');

console.log( $('#foo').attr('data-foo') );
//outputs "bar" as the attribute was never changed

console.log( $('#foo').data('foo') );
//outputs "baz" as the value has been updated on the object


http://stackoverflow.com/questions/12405874/kendo-ui-grid-display-grid-on-a-link-click
http://stackoverflow.com/questions/10324565/how-to-get-the-displayed-data-of-kendogrid-in-json-format

query datasource

http://stackoverflow.com/questions/13508849/kendoui-resetting-grid-data-to-first-page-after-button-click
http://stackoverflow.com/questions/13508849/kendoui-resetting-grid-data-to-first-page-after-button-click

ajax resumen

http://blog.zeion.net/2012/09/14/ejemplo-practico-de-ajax-json-con-jquery/

como pasar parametros el atributo data en ajax

http://stackoverflow.com/questions/15576548/jquery-how-to-pass-parameters-in-get-requests
http://stackoverflow.com/questions/3066070/using-jquery-to-make-a-post-how-to-properly-supply-data-parameter
Como enviar en formato value1=value1 &value2=value2...
http://stackoverflow.com/questions/9328743/sending-multiple-data-parameters-with-jquery-ajax

how to sent json parameters mediante el metodo get con ajax jquery
http://stackoverflow.com/questions/10948233/jquery-send-json-object-using-get-method
http://stackoverflow.com/questions/10948233/jquery-send-json-object-using-get-method

RESUELTO EL PROBLEMA DE JSON COMO PARAMETRO GET
http://techbrij.com/pass-parameters-aspdotnet-webapi-jquery
-----------
http://stackoverflow.com/questions/18697034/how-to-pass-parameters-in-ajax-post 
Try using GET method,
$.ajax({
        url: 'url',
        type: 'GET',
        data: { field1: "hello", field2 : "hello2"} ,
        contentType: 'application/json; charset=utf-8',
        success: function (response) {
            your success code
        },
        error: function () {
            your error code
        }
    }); 
You cannot see parametrs in url with POST method

-----
http://stackoverflow.com/questions/249692/jquery-wont-parse-my-json-from-ajax-query
According to the json.org specification, your return is invalid. The names are always quoted, so you should be returning
{ "title": "One", "key": "1" }
and
[ { "title": "One", "key": "1" }, { "title": "Two", "key": "2" } ]
This may not be the problem with your setup, since you say one of them works now, but it should be fixed for correctness in case you need to switch to another JSON parser in the future.
-----------

http://api.jquery.com/jQuery.ajax/
  • data
    Type: PlainObject or String or Array
    Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests. See processData option to prevent this automatic processing. Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with same key based on the value of the traditional setting (described below).
    $.ajax({
    type: "POST",
    url: "some.php",
    data: { name: "John", location: "Boston" }
    })
    .done(function( msg ) {
    alert( "Data Saved: " + msg );
    });
    **************v2b
    VER el parametro data:
    $.ajax({ async:true, type: "POST", dataType: "html", contentType: "application/x-www-form-urlencoded", url:"ajaxcompleto2.php", data:"anio="+v, beforeSend:inicioEnvio, success:llegada, timeout:4000, error:problemas }); 
    ---
     
    
    
    otro en http://blog.zeion.net/2012/09/14/ejemplo-practico-de-ajax-json-con-jquery/
    pero con post ojo 
    var data = "tarea=1&cedula=" + cedula.id; 
    **************