This is a migrated thread and some comments may be shown as answers.

Simple Question

4 Answers 113 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 06 Dec 2011, 02:59 PM
I see lots of eaxample which bind to KendoUI widgets.
How do I bind a DataSource to form elements i.e. html input.
Kind of master detail example to call read on the MVC controller.

 

public JsonResult Read(int dealerId)

 

{

 

var db = new UsedCarsEntities();

 

var temp = db.Dealers.FirstOrDefault(w => w.DealerId == dealerId);

 

return this.Json(temp, JsonRequestBehavior.AllowGet);

}



4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Dec 2011, 03:44 PM
Hello Nelson,

You can make the Kendo datasource populate generic HTML content by using Kendo templates. The online demos in the "Datasource" section show how to do this:

http://demos.kendoui.com/web/datasource/index.html

Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jan
Top achievements
Rank 1
answered on 06 Dec 2011, 04:10 PM
Thanks for a link, which I've visited before.This one bind date to the widgets, I am looking for an exaple to bind to the form.



0
Accepted
Dimo
Telerik team
answered on 06 Dec 2011, 04:29 PM
Hello Nelson,

There are no widgets on the provided demo. The data is bound to plain HTML.

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jan
Top achievements
Rank 1
answered on 06 Dec 2011, 05:50 PM
Sorry, looked at wrong tab, lol
Tags
Data Source
Asked by
Jan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Jan
Top achievements
Rank 1
Share this question
or