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

[Solved] Template field in Grid disappears after Ajax call

0 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark Shortt
Top achievements
Rank 1
Mark Shortt asked on 09 Jan 2012, 03:32 PM
HI

I'm using the latest version of the controls.

I have a template column defined in my Telerik Grid which works fine on my initial server call.

My problem arises when the grid is refreshed via Ajax, the template column disappears. Can anyone advise how to fix this?

Template code is:

 columns.Template(@<text>
@Ajax.ActionLink("Edit""Bedroom_RatesEdit"new { id = item.id }, new AjaxOptions
             {
                 UpdateTargetId = "_DataPane",
                 InsertionMode = InsertionMode.Replace,
                 HttpMethod = "post"
 
             })
|
</text>).Width(100);


Thanks

Mark 
Tags
General Discussions
Asked by
Mark Shortt
Top achievements
Rank 1
Share this question
or