Hi,
I have a strange problem with the Telerik GridView. The code below worked fine until I installed the Q3 release:
For some reason the grid's data isn't updated according the values in the list.
When I open my screen I set the grid as follows:
When a user double clicks at a row then I open a new window where the user can make the changes. When the user presses OK the code (see code above) is executed. When I check the list I can see that the _Badgelist values are ok but for some reason the grid isn't updated? This worked before I installed the Q3 release.
Some ideas?
I have a strange problem with the Telerik GridView. The code below worked fine until I installed the Q3 release:
var MyBadgeWindow = sender as Bad_EditWindow;
if (MyBadgeWindow.DialogResult == true)
{
foreach (Badges UpdateBadge in _BadgeList)
{
if (UpdateBadge.EntityBadgeId == MyBadgeWindow.Bad_Selected.EntityBadgeId)
{
UpdateBadge.EntityId = MyBadgeWindow.Bad_Selected.EntityId;
UpdateBadge.BadgeId = MyBadgeWindow.Bad_Selected.BadgeId;
UpdateBadge.Number = ((GaSuite.Web.ga_badge)MyBadgeWindow.Bad_BadgeId.SelectedItem).Number;
UpdateBadge.State = (byte)MyBadgeWindow.Bad_Selected.State;
UpdateBadge.ValidFrom = MyBadgeWindow.Bad_Selected.ValidFrom;
UpdateBadge.ValidTill = MyBadgeWindow.Bad_Selected.ValidTill;
UpdateBadge.IsVisitorBadge = MyBadgeWindow.Bad_Selected.IsVisitorBadge;
}
}
this.Bad_Grid.Rebind();
For some reason the grid's data isn't updated according the values in the list.
When I open my screen I set the grid as follows:
Bad_Grid.ItemsSource = _BadgeList;
When a user double clicks at a row then I open a new window where the user can make the changes. When the user presses OK the code (see code above) is executed. When I check the list I can see that the _Badgelist values are ok but for some reason the grid isn't updated? This worked before I installed the Q3 release.
Some ideas?