Problem with requesting unmodified rowchanges

3 replies. Last post: March 7, 2010 10:31 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Just found a strange behaviour of the WebGrid when requesting rowchanges on postback. All added and deleted rowchanges show up in the list of changes. However, the unmodified changes (which obviously isn't a change, but it's possible to request those changes) won't show up in the list.

Am I doing something wrong, am I interpreting it wrong or is there another reason it doesn't work?

WebGrid grid = (WebGrid) this.MessageFormView.FindControl("WebGrid1", true);
List<WebGridRowChanges> list = grid.GetChanges(RowState.Added | RowState.Deleted | RowState.Unmodified);

Thanks for replies.

All times are GMT -5. The time now is 11:39 PM.
Previous Next