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

[Solved] GridView OnRowCreated Alternative

1 Answer 165 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Martin Laritz
Top achievements
Rank 1
Martin Laritz asked on 17 Dec 2009, 06:36 PM
In the ASP.Net GridView, there was a server-side OnRowCreated that we used to make the rows clickable (links to detail pages), and to set ids on the rows.  What is the alternative to this with the Telerik Asp.Net 3.5 Ajax Grid?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Dec 2009, 04:30 AM
Hi Martin,

You can use ItemCreated event of Telerik RadGrid that fires on the server when an item in the RadGrid control is created. Then you can obtain a GridDataItem or GridEditFormItem for the row from the event arguments e.Item.

Also checkout the following links:
Event sequence
Distinguishing the major differences between ItemCreated and ItemDataBound events

-Shinu.
Tags
Grid
Asked by
Martin Laritz
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or