This question is locked. New answers and comments are not allowed.
I have a main grid Contacts.
This has an Editor Template which has a grid in it to display notes created related to that contact.
@model ContactManager.Models.Contact
removed for brevity
@(Html.Telerik().Grid<Note>()
.BindTo(Model.Notes)
.Name("Notes")
.DataBinding(bind=>bind.Ajax()
.Columns(columns=>{columns.Bound(m=>m.Description);columns.Bound(m=>m.Text);}))
The returned JSON has two notes in it
"Notes":[{"Description":"reeree","Text":"fsdfsdf sdfs df","EntryDate":"\/Date(1324070995900)\/","ContactId":4,"Timestamp":[0,0,0,0,0,0,1,84],"CreationUserId":null,"LastModifiedUserId":null,"Id":1},{"Description":"Note","Text":"Test","EntryDate":"\/Date(1324391966480)\/","ContactId":4,"Timestamp":[0,0,0,0,0,0,1,85],"CreationUserId":null,"LastModifiedUserId":null,"Id":2}]
However, the notes don't display when the Edit Form Displays in Popup Edit Mode, am I doing something wrong, I am not trying to edit the notes just display them.
This has an Editor Template which has a grid in it to display notes created related to that contact.
@model ContactManager.Models.Contact
removed for brevity
@(Html.Telerik().Grid<Note>()
.BindTo(Model.Notes)
.Name("Notes")
.DataBinding(bind=>bind.Ajax()
.Columns(columns=>{columns.Bound(m=>m.Description);columns.Bound(m=>m.Text);}))
The returned JSON has two notes in it
"Notes":[{"Description":"reeree","Text":"fsdfsdf sdfs df","EntryDate":"\/Date(1324070995900)\/","ContactId":4,"Timestamp":[0,0,0,0,0,0,1,84],"CreationUserId":null,"LastModifiedUserId":null,"Id":1},{"Description":"Note","Text":"Test","EntryDate":"\/Date(1324391966480)\/","ContactId":4,"Timestamp":[0,0,0,0,0,0,1,85],"CreationUserId":null,"LastModifiedUserId":null,"Id":2}]
However, the notes don't display when the Edit Form Displays in Popup Edit Mode, am I doing something wrong, I am not trying to edit the notes just display them.