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

Empty Rows

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mohamed
Top achievements
Rank 1
mohamed asked on 03 Aug 2011, 08:59 AM

Hello every one,

How to bind empty row and columns in ragrid ,
It's possible ,
After The i fill in that radgrid


Regards,
Mohamed.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Aug 2011, 12:02 PM
Hello Mohammad,

I am not quite sure about your requirement. You can access the value in GridBoundColumn value in ItemDataBound event as shown below.
C#:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
    if (e.Item is GridDataItem)
    {
            GridDataItem item = (GridDataItem)e.Item;
            string str = item["ColumnUniqueName"].Text;
            if (str == "")
            {
              //check for condition
            }
    }
}

Thanks,
Princy.
Tags
Grid
Asked by
mohamed
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or