Hello,
I have to problems.
1) When I add the first record in the DataForm : #1. When I add a second record, I save it and I press the previous record (naviagation buttons) then all the navigations buttons become disabled. I cannot go to the second record. I have to refresh the page (via browser) to see correctly the buttons. Any Idea?
2) About the delete button (the tash can). I add the first record and save it. I add another record and save it. I try to delete the second record, it's trigger (fired) only the DeletingItem (but not all the time). To correct this situation, I have to refresh the page (browser button). Any idea?
This is the code in the DeletingItem
Thank you for your help.
I have to problems.
1) When I add the first record in the DataForm : #1. When I add a second record, I save it and I press the previous record (naviagation buttons) then all the navigations buttons become disabled. I cannot go to the second record. I have to refresh the page (via browser) to see correctly the buttons. Any Idea?
2) About the delete button (the tash can). I add the first record and save it. I add another record and save it. I try to delete the second record, it's trigger (fired) only the DeletingItem (but not all the time). To correct this situation, I have to refresh the page (browser button). Any idea?
This is the code in the DeletingItem
private void RadDataFormTaches_DeletingItem(object sender, System.ComponentModel.CancelEventArgs e)
{
MessageBoxResult mbrResultat;
mbrResultat = MessageBox.Show(ApplicationStrings.MsgConfirmerSuppression, ApplicationStrings.MsgBarTitreConfirmerSuppression, MessageBoxButton.OKCancel);
if (mbrResultat == MessageBoxResult.Cancel)
{
e.Cancel = true;
}
else
{
e.Cancel = false;
}
}
Thank you for your help.