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

Converting to radGrid

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mathew
Top achievements
Rank 1
Mathew asked on 07 Mar 2011, 06:59 PM
Hello,

I have a GridView that I am converting to radGrid, but I'm having trouble with some of the syntax. 

Can someone 'translate' these below 2 lines for me (to the correct syntax for a radGrid)?...  I currently have this code in the ItemCreated event where it dynamically adds a new row to the grid...

GridView oGridView = (GridView)sender;
GridViewRow oGridViewRow = new GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Insert);

Thanks!
Matt

1 Answer, 1 is accepted

Sort by
0
Mathew
Top achievements
Rank 1
answered on 07 Mar 2011, 10:49 PM
I see how this is done now.  I got all the code I need from this example (function: SetupDualHeaders)...

http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-add-a-row-in-header-of-radgrid.aspx
Tags
Grid
Asked by
Mathew
Top achievements
Rank 1
Answers by
Mathew
Top achievements
Rank 1
Share this question
or