How to use the rowdatabound in grid

2 posts, 0 answers
  1. Abdul
    Abdul avatar
    2 posts
    Member since:
    Jul 2011

    Posted 18 Apr 2012 Link to this post


    I want to know how to use the OnRowDataBound Event in this telerik Grid Controls.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Apr 2012 Link to this post

    Hello Abdul,

    ItemDataBound is fired when RadGrid binds to data. In ItemDataBound data is available in the cells' text or input controls.
    You can set the EventHandler for the ItemDataBound event in the aspx and access the GridDataItem in the ItemDataBound event.
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true" OnItemDataBound="RadGrid1_ItemDataBound">
    protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)

Back to Top