I am trying to get inline popup working but for some resson its displaying nothing no editable fields for the user the insert and cancel are showing fine. I have made sure to have ajax manager and a ajax loader as per demo
01.
<telerik:RadAjaxManager ID=
"RadAjaxManager2"
runat=
"server"
>
02.
<AjaxSettings>
03.
<telerik:AjaxSetting AjaxControlID=
"rpNotes"
>
04.
<UpdatedControls>
05.
<telerik:AjaxUpdatedControl ControlID=
"rpNotes"
LoadingPanelID=
"RadAjaxLoadingPanel1"
/>
06.
</UpdatedControls>
07.
</telerik:AjaxSetting>
08.
</AjaxSettings>
09.
</telerik:RadAjaxManager>
10.
<telerik:RadAjaxPanel ID=
"rpNotes"
runat=
"server"
>
11.
<telerik:RadAjaxLoadingPanel ID=
"RadAjaxLoadingPanel1"
runat=
"server"
/>
12.
<telerik:RadGrid ID=
"rgNotes"
runat=
"server"
GroupPanelPosition=
"Top"
Skin=
"Bootstrap"
>
13.
<GroupingSettings CollapseAllTooltip=
"Collapse all groups"
></GroupingSettings>
14.
<MasterTableView NoDetailRecordsText=
"No notes for this Appointment"
AutoGenerateColumns=
"False"
CommandItemDisplay=
"Top"
CommandItemSettings-AddNewRecordText=
"Add Notes"
AllowAutomaticInserts=
"true"
EditMode=
"InPlace"
>
15.
<Columns>
16.
<telerik:GridEditCommandColumn UniqueName=
"EditCommandColumn"
>
17.
</telerik:GridEditCommandColumn>
18.
<telerik:GridBoundColumn DataField=
"Subject"
FilterControlAltText=
"Filter Subject column"
HeaderText=
"subject"
ReadOnly=
"True"
SortExpression=
"Subject"
UniqueName=
"Subject"
>
19.
</telerik:GridBoundColumn>
20.
</Columns>
21.
</MasterTableView>
22.
</telerik:RadGrid>
23.
</telerik:RadAjaxPanel>
24.
<div></div>
25.
</div>
26.
<br />
I am filling my rad grid using dal access which is the following routine.
01.
/// <summary>
02.
/// Gets the allnotes by appointment.
03.
/// </summary>
04.
/// <param name="id">The identifier.</param>
05.
/// <returns></returns>
06.
public
List<tblApertureNetNote> getNotesByAppointment(
int
id)
07.
{
08.
try
09.
{
10.
var _notes = apertureNetEntities.tblApertureNetNotes.Where(f => f.isDeleted ==
false
&& f.appointment_id == id).OrderByDescending(o => o.authCreatedDate).ToList();
11.
return
_notes.AsQueryable().ToList();
12.
}
13.
catch
(Exception ex)
14.
15.
{
16.
string
inner =
string
.Empty;
17.
if
(ex.InnerException !=
null
)
18.
{
19.
inner = ex.InnerException.ToString();
20.
}
21.
logger.Error(
"Error in IQueryable function getNotesByAppointment "
+ ex.ToString() +
" "
+ inner);
22.
return
null
;
23.
}
24.
}