hi,
i am getting the issue in check box column whether it is checked or not.
if i use cellformating event then it fires thousands time for one row.
for (int count = 0; count < grdProductSearch.Rows.Count; count++)
{
string value = grdProductSearch.Rows[count].Cells["Link"].Value.ToString(); //it returns empty value.
}
if i use this
bool isSelected = grdProductSearch.Rows[count].Cells["ColUniqueName"].CellElement.IsSelected;
then it gives me error that cellelement is null.
Please tell me how i can resolve this issue.
Thanks.
i am getting the issue in check box column whether it is checked or not.
if i use cellformating event then it fires thousands time for one row.
for (int count = 0; count < grdProductSearch.Rows.Count; count++)
{
string value = grdProductSearch.Rows[count].Cells["Link"].Value.ToString(); //it returns empty value.
}
if i use this
bool isSelected = grdProductSearch.Rows[count].Cells["ColUniqueName"].CellElement.IsSelected;
then it gives me error that cellelement is null.
Please tell me how i can resolve this issue.
Thanks.