我正在尝试为radgrid
. 当我尝试以下操作时,我似乎无法找到过滤器控件,没有任何反应。
foreach (GridFilteringItem filterItem in InitAlerts.MasterTableView.GetItems(GridItemType.FilteringItem))
{
RadComboBox initLoans = (RadComboBox)filterItem.FindControl("InitLoan");
var loannumber = (from DataRow dRow in initTable.Rows
select new { loan_number = dRow["loan_loan_number"] }).Distinct().ToList();
initLoans.DataSource = loannumber;
initLoans.DataBind();
Label1.Text = initLoans.ID.ToString();
}
此外,这只是在运行Page_Load
,如果这有所作为......