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

Get cell Data

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
niloofar
Top achievements
Rank 1
niloofar asked on 06 Sep 2010, 12:06 PM


hi
i use these code for gridView
            if (e.Item.ItemType == DataControlRowType.Header || (e.Item.NamingContainer as GridView).Rows.Count == 0)
               return;

            GridViewRow row = this.GridView1.Item[(e.Item.NamingContainer as GridView).Rows.Count - 1];
  when i used for Radgrid I Have Error
Please Help me

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 Sep 2010, 12:23 PM
Hello,


In RadGrid, each row is represented by a GridDataItem or GridEditFormItem object, depending on whether the row is an edit form. The following documentation shows more on accessing cell value in Telerik RadGrid.
Accessing cells and rows


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