Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

shared remote json datasource?

$
0
0

Say i have three kendoDropDownList's.  Each should populate their list using a different part of the response from a single remote json datasource.  So say the datasource is this json object:

{
   "somefield1":"someval",
   "somefield2":"someval2",
   "vendors":{  
      "vendor":[  
         {  
            "vendorName":"kroger",
            "vendorID":251
         },
         {  
            "vendorName":"publix",
            "vendorID":262
         }
      ]
   },
   "drivers":{  
      "driver":[  
         {  
            "firstName":"bob",
            "driverID":12,
         },
         {  
            "firstName":"bill",
            "driverID":15,
         }
   },
   "users":{  
      "user":[  
         {  
            "username":"charlie",
            "employeeid":11
         },
         {  
            "username":"linda",
            "employeeid":2
         }
      ]
   }
}

How would I ​get the first kendoDropDownList to bind to vendors, the second to drivers, and the third to users, without having to hammer the server with three separate requests?

 

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>