This question is locked. New answers and comments are not allowed.
Hi,
When I load my grid which is in ascx file by ajax loading, ClientTemplate does not work. Checkboxs does not seems at first load.
I load ascx file :
$('#ajaxGrid').load('<%= Url.Action("User_Manager_MappingControl", "Process_Manager") %>',
{
ListPeriod: $("#ListPeriod").val()
});
in the ascx file, a part of grid code:
columns.Bound(o => o.REGISTARY_NO)
.ClientTemplate("<input type='checkbox' name='checkedRecords' value='<#= ID #>' />")
.Title("")
.Width(50)
.HtmlAttributes(new { style = "text-align:center" });
When I load my grid which is in ascx file by ajax loading, ClientTemplate does not work. Checkboxs does not seems at first load.
I load ascx file :
$('#ajaxGrid').load('<%= Url.Action("User_Manager_MappingControl", "Process_Manager") %>',
{
ListPeriod: $("#ListPeriod").val()
});
in the ascx file, a part of grid code:
columns.Bound(o => o.REGISTARY_NO)
.ClientTemplate("<input type='checkbox' name='checkedRecords' value='<#= ID #>' />")
.Title("")
.Width(50)
.HtmlAttributes(new { style = "text-align:center" });