This question is locked. New answers and comments are not allowed.
I got this,
I got, as shown above, just 1 client template, the id field. The Id is a guid. Now when i run this, i get the following output.
Did i miss something? or why is the link text appearing outside of the link? In the client template above its inside.
Also, is there a way to render MVC links in the client template when the call was made with Ajax?
I am using the following version of Telerik: 2011_1_315 and all the telerik script files are loaded from telerik cdn.
@(Html.Telerik().Grid(Model.Model) .Name("OrdersGrid") .Columns(columns => { columns.Bound(dlm => dlm.Firstname); columns.Bound(dlm => dlm.Surname); columns.Bound(dlm => dlm.CountryName).Title("Country"); columns.Bound(dlm => dlm.Id).ClientTemplate("<a href=\"/Community/Helpdesk/Edit/<#= Id #>\" />Edit</a>"); }) .DataBinding(dataBinding => dataBinding.Ajax().Select(new RouteValueDictionary { { "Action", "GetUserList" }, { "Controller", "Helpdesk" }, { "Area", "Community" }, { "Search", Model.SearchString } })) .EnableCustomBinding(true) .Pageable(paging => paging.Total(100).PageSize(10)) .DataKeys(dk => dk.Add(key => key.Id)))I got, as shown above, just 1 client template, the id field. The Id is a guid. Now when i run this, i get the following output.
<td class="t-last"><a href="/Community/Helpdesk/Edit/cb0bc413-d1ce-46de-aa2c-d5cc47aeb9b8"></a>Edit</td>Did i miss something? or why is the link text appearing outside of the link? In the client template above its inside.
Also, is there a way to render MVC links in the client template when the call was made with Ajax?
I am using the following version of Telerik: 2011_1_315 and all the telerik script files are loaded from telerik cdn.