(Using Q1 2009)
I have a question that I can't seem to find an answer for --
Currently, if I want to find out the value of a filtered column, say, a TextBox or DatePicker, I am doing something like this:
I have a question that I can't seem to find an answer for --
Currently, if I want to find out the value of a filtered column, say, a TextBox or DatePicker, I am doing something like this:
GridFilteringItem item = RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)[0] as GridFilteringItem;
string Name = (item["Name"].Controls[0] as TextBox).Text;
DateTime? FromIHD = (item["Date"].Controls[0] as RadDatePicker).SelectedDate;
But this method requires me to know the "string columnUniqueName" to access the item.
What I would *like* to be able to do is loop through the GridFilteringItems (perhaps by an index?), determine what type of control that column is using (such as a TextBox or RadDatePicker) and get the values of each one.
Maybe I'm just blind, but I didn't see an easy way to do this.
Thanks!
Troy