Hey guys,
perhaps a simple question, but i'm a little bit confused about this... How can i bind a remote datasource to a simple form. I know already which ID i want to use, but i don't know how to get the one specific ID and bind the Field to an input. In this case i open my page "http://myurl/form.php?id=618" and would like to fill out the whole form.
Thanks,
Chris
<form id="myForm"> <ul> <li> <input type="text" id="myField" class="k-textbox" data-bind="value:myField" /> </li> </ul></form><script>var dataSource = new kendo.data.DataSource({ transport: { read: { url: "http://myURL", dataType: "json", type: "GET", contentType: "application/json" } }, schema: { model: { id: "ID", fields: { ID: "ID", myField: "myField", } } }});</script>