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

cannot retrieve grid bound column values

2 Answers 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
abinav
Top achievements
Rank 1
abinav asked on 16 Feb 2011, 06:50 AM
hi i tried retriving the gridboundcolumn values as below
foreach (GridDataItem item in RadGrid1.EditItems)
                    {
                        str = "";
                        if (item["Users"].Text != null)
                        {
                            strID = item["ID"].Text;
                            StrLicenseType = item["AppliedFor"].Text;
                            UnderLicenseeID = item["UnderLi"].Text;
                            msg = item["LiName"].Text;
                            RadGrid2.Visible = false;
                        }
and i am getting &nbsp as the value is there any other alternative ??

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Feb 2011, 09:55 AM
Hello,

The documenatation shows how to access cells and values in grid. I hope this would shed some light on your issue.
Accessing cells and rows

Please let me know if you if you need further help.


Thanks,
Princy.
0
abinav
Top achievements
Rank 1
answered on 16 Feb 2011, 10:15 AM
hi princy

thanks for the help i referred that article and still i am getting the same problem
Tags
General Discussions
Asked by
abinav
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
abinav
Top achievements
Rank 1
Share this question
or