Syncfusion Grid

  • Thread starter Thread starter Vasanth
  • Start date Start date
V

Vasanth

Hi All,

I am using syncfusion grid for Windows Application using VB.net.
As per our requirement, user should be able to close the window at any time.
The application should cancel what the user is entering in the grid and
should close the screen when the user presses Close command button or
Windows Cross button. I am able to cancel and close the screen when the user
presses "Close" command button by checking Activecontrol in Rowleave and
CurrentCellValidating events. But i am not able to do the same with the
Windows Cross button.

Please Advise.

Vasanth
 
Hi Vasanth,

What happens when you click the close box and which event do you use to
catch the clicking on that close box?

Cor
 
As the focus is on the grid, when i click the close box, Row Leave for the
current row in the grid is firing. The validations in the Rowleave event is
stopping the control from going out of the row as i coded. As this the case,
no event other than Rowleave is firing when i clicked close box.

Vasanth
 
Hi Vasant,

Can you look if there is an e.cancel in that event and else I think there is
only one way, take an other event to do the validating.

Cor
 
Back
Top