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

[Solved] RowAction and ClientTemplate

1 Answer 78 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.
mattshepherd
Top achievements
Rank 1
mattshepherd asked on 10 Jun 2011, 06:54 PM
Hi,

Im using RowAction to set HTML5 attributes to the row, and on initial server binding this works perfect, however on an ajax bind (sorting, paging etc..) the attributes are removed.  I understand this is only intended for server side binding as per the documentation, but i was wondering if there was any intention to expand this to also cover the client side binding.

Also, is there a work around solution to achieve the desired effect with the current release?

Cheers,
Matt

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 13 Jun 2011, 07:07 AM
Hi mattshepherd,

 The RowAction event will never work for ajax binding as it is executed on the server side.

 The workaround is to use the OnRowDataBound JavaScript event of the grid.

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
mattshepherd
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or