or
@Html.Kendo().Grid()<div id="grid"></div><script> $("#grid").kendoGrid({ columns: [ { title: "Id" }, { title: "Name" }, { title: "City" }, { title: "State" }] }); </script>
<input data-bind="value:cmpnydate" name="date" data-type="date" data-role="datepicker" required="required" validationMessage="required"/>
and binding that datepicker value to "cmpnydate" and it is of "date" type, but that value is not binded to that Schema Variable. Am I defining wrong anywhere? Can u just plz let me know where I have defined wrong?
Thanks and regards,
Bhavani.
dataSource: new kendo.data.DataSource({ type: "json", transport: { read: { url: "GetZones", dataType: "json", type: "POST", contentType: "application/json; charset=utf-8", data: { __RequestVerificationToken: $("input[name=__RequestVerificationToken]").val() } //sendAntiForgery() }, parameterMap: function (options) { return JSON.stringify(options); } }}; However in fiddler I get the following error: {"error":"Invalid JSON primitive: __RequestVerificationToken=cVKwXnuusO7LVzfoTYk2FD4S5BhSstIULlN0uzspliMOByr/OFRMpbaeLT4i84lpqZZPuzNyUzuhqULNEA/WyljOuD17gycOs2yQGfNlHq1GrX7/QcW3l0RC30RAXA9ruyLRuvCBLNOASqsMUSBb4wIyzxMj4mLrZZNdqk4JWyo=."} I found out that the token is send out twice as you can see in the following request body:
Is possible automatically add a string (?width=300) to the src of an image tag when I insert an image with Editor?
<img src="images/myimage.jpg?width=300 />
The reason is that I’m using imageresizer for my thumbnails and I really like it.
/Stefan