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

[Solved] MVC Grid - ClientTemplate in ascx page

1 Answer 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ibrahim
Top achievements
Rank 1
ibrahim asked on 31 Aug 2010, 09:00 AM
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" });

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 31 Aug 2010, 09:28 AM
Hi ibrahim,

You can check the grid troubleshooting help topic which explains this behavior.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
ibrahim
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or