Hi All,
I have a RadGridView bound to a BindingList that does not update when I change my BindingList. Basically, I am traversing my list with LINQ and updating some fields, but these fields are not updating in the RadGridView.
Hers is my code:
The only way I can reflect these changes is by calling:
However, this grid has about 300 Agents, and whenever I call this Refresh, the grid scrolls back to the top - which is not something that works for me.
Thanks in advance for any help!
I have a RadGridView bound to a BindingList that does not update when I change my BindingList. Basically, I am traversing my list with LINQ and updating some fields, but these fields are not updating in the RadGridView.
Hers is my code:
var mAgentsInList = from a in cAgentList where a.AgentId.ToLower() == p_AgentId.ToLower() select a;foreach (DTLAgent feAgentToUpdate in mAgentsInList){ feAgentToUpdate.OutboundCalls = 99; if (p_Direction.ToUpper() == "IN") { feAgentToUpdate.Direction = "In"; }}The only way I can reflect these changes is by calling:
grdAgents.MasterTemplate.Refresh();However, this grid has about 300 Agents, and whenever I call this Refresh, the grid scrolls back to the top - which is not something that works for me.
Thanks in advance for any help!