Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1590
Issue with closing form containing ultra grid bound to ultra data source
posted

Hi,All.

My test application describes the problem I have encounter with. (I have attached it )


The application is a form containing an ultra grid bound to an ultra data source.
1. I change data in a cell.
2  Carriage retains in a cell.
3. Then I click on the button 'Close' that has the following code in event handler:
        private void closeBtn_Click(object sender, EventArgs e)
        {
            Close();
        }
4. OnDataSourceCellDataUpdating is fired.
5. Form does not close.(

// In OnDataSourceCellDataUpdating I set e.Cancel in True specially to show that
 form in this case cannot be closed. But I want when an user clicks on 'Close' button Form closes anyway.

 Do you have an idea what the problem could be?
 Thanks in advance.

IssueWithClosingForm.zip