Hello,
I am planning to develop a mobile application in android using KendoUI. Do I need to use Phonegap(need to refer cordova?) or I can develop the entire application using KendoUI framework without using Phonegap?
Other question is there will be any challenge if I am planning to use the IDE as Visual Studio and platform as Windows phone 7. Because it says KendoUI does not support in Windows Phone 7. But I got this link. Please give a suggestion.
http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/windows-phone-application-using-kendo-ui-mobile-and-phonegap/
Thanks
Hello Dear,
I am so much happy to know Kendo UI web demo now open for all. So I want to use Kendo UI web in my project. At now I am using JQuery UI in my project. I am passing my all data by JSON. Other one is important my project is ASP.NET MVC 3 project. So last few days I am trying to pass JSON data to my project with Kendo UI Web. But I cannot do it easily. I think I am missing something.
Another one I do not want to use Kendo MVC DLL. Only I want to use Kendo UI Web Open source. I can use Kendo MVC DLL. :)
So my target is use Kendo UI to ASP.NET MVC 3 project with JSON data. My Question is below:
Please Help me…!
<div id="CertificationList" class="row k-widget k-listview" data-role="listview">@(Html.Kendo().ListView(Model) .Name("CertificationList")dataSource = new kendo.data.DataSource({ transport: { read: {url:"<?=base_url()?>/bank"}, update: {url:"<?=base_url()?>/bank/update", type:"POST"}, destroy: {url:"<?=base_url()?>/bank/destroy",type:"POST"}, create: {url:"<?=base_url()?>/bank/create",type:"POST"}, }, error: function(e) { alert(e.responseText); }, 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" } ]});public function index() { header("Content-type: application/json"); $arr = array(); $data=$this->bank_model->get_bank(); foreach ($data as $hasil) { $arr[]=$hasil; } print json_encode($arr);} public function create() { header("Content-type: application/json"); $nama_bank = $_POST['models'][0]['nama_bank']; $query = "INSERT INTO bank VALUES (NULL, '$nama_bank')"; $rs = $this->db->query($query); echo $query; if ($rs) { echo json_encode($rs); } else { header("HTTP/1.1 500 Internal Server Error"); }} public function update() { header("Content-type: application/json"); $id_bank = $_POST['models'][0]['id_bank']; $nama_bank = $_POST['models'][0]['nama_bank']; $query = "UPDATE bank SET nama_bank = '$nama_bank' WHERE id_bank = $id_bank"; echo $query; if ($rs) { echo json_encode($rs); } else { header("HTTP/1.1 500 Internal Server Error"); }}