9 Answers, 1 is accepted
Could you please describe your problem in a bit more detail? Do you change the data from code-behind?
Regards,Yavor Georgiev
the Telerik team

Hi Yavor,
Thanks for your help
I'm using tab control with tab item template the grid is part of this template
I have two buttons one for adding rows and one for delete rows
When I add or remove (in the code behind) the collection is changed
But only after I clicking on some other page in the pager or on other tab the grid update
And the user dont know what happend
Best regards
Ehud
What kind is your item collection? Is it an ObservableCollection?
All the best,Yavor Georgiev
the Telerik team

I don’t know what kind of collection I get
In the remove method I go to the RadGrid.Items.RemoveAt(index);
And in the add method I do this
((IList)RadGrid.ItemsSource).Insert(index, item);
Its work fine usually but in the tab item template the grid not refresh
Like I say before
Best regards
Ehud
The RadGridView can only detect a change in the backing collection if it implements INotifyCollectionChanged. If it doesn't, you should refresh the grid by calling Rebind() on it .
Kind regards,Yavor Georgiev
the Telerik team

best regards
Ehud


I'm sorry, let me add more information, I already tried using items.Refresh() and Rebind(), both of them gave me an exception without any messages, was just saying that I'm in break mode and code was in some external .
Thanks for the additional clarification.
Such behavior can be reproduced when the data is not edited from the user interface of the control, but programmatically. With such setup, you need to manually notify RadGridView for the modified data. The approach of achieving this is discussed in the Edit an item outside RadGridView help article. Can you please check it out and let me know how it goes?
Best Regards,
Stefan
Progress Telerik