This is a migrated thread and some comments may be shown as answers.

Navigation buttons

1 Answer 42 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Louis Bouchard
Top achievements
Rank 1
Louis Bouchard asked on 13 May 2011, 04:16 AM
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

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.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 13 May 2011, 03:36 PM
Hello Louis Bouchard,

I have tried to reproduce the issues you reported, but still without any success. May you take a look at the sample attached and verify whether there are any misunderstandings on your requirements ? May you try to reproduce the same behavior on it ? 

Best wishes,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DataForm
Asked by
Louis Bouchard
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or