开发者

RadGrid1.Items is null

enter code here protected void btnshortlist_Click(object sender, EventArgs e)
{
    foreach (GridDataItem item in rg_results.Items)
    {
        CheckBox chkselected = (CheckBox)item.开发者_开发技巧FindControl("chkselected");
        if (chkselected.Checked == true)
        {
            Applicant_Status(item.Cells[3].Text.Trim(), 1, 0);
        }
    }
 }

rg_results.Items is null and cannot enter in foreach loops Note:I'm not using Rad Grid Need Data Source Event because it is conflict with my javascripts please help me?


use rg_results.MasterTableView.Items instead of rg_results.Items

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜