We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GDBG RowEnter event

Thread ID:

Created:

Updated:

Platform:

Replies:

45627 Jun 26,2006 06:41 AM Jun 28,2006 07:44 PM Windows Forms 3
loading
Tags: GridControl
Ernst M. Graaff
Asked On June 26, 2006 06:41 AM

Hi, using the GDBG (v4.2.0.37) i noticed the rowenter event is being fired when the grid loses the focus. Why is this and how can i prevent this?

Administrator [Syncfusion]
Replied On June 26, 2006 01:46 PM

Hi Edward, It will be helpful, if you provide us more details / modify the attached sample to reproduce the issue. The following sample demonstrates the behaviour without any issue. Sample : RowEnterIssue Thanks and regards, Madhan

Ernst M. Graaff
Replied On June 28, 2006 03:57 AM

Hi Madhan, Thanks for your response. After migrating our application from grid v1.6.1.8 to v4.2.0.37 i noticed that the RowEnter event of the gdbg was being triggered when the gdbg loses the focus. After some debugging/comparing yesterday i noticed that the newly created grids on a form has the property UseListChangeEvent=True while for existing grids this is set to False. If UseListChangeEvent=False and the datasource of the gdbg is a datatable the RowEnter event is triggered when the grid loses the focus, but not when UseListChangeEvent=False. For an arraylist as the datasource the UseListChangeEvent has no influence on the RowEnter event being triggered. It’s always triggered. I attached a VB sample (VS2005) to demonstrate this. I assume this is not the intended behavior of the grid. (or is it?) Is there a way to prevent this issue? Best regards, Edward

RowEnterIssue02.zip

Administrator [Syncfusion]
Replied On June 28, 2006 07:44 PM

Hi Edward, Here is the sample which demonstrates a way to avoid this problem. This is achieved by suspend / resume binding when leaving and entering the grid. I hope it helps to solve your issue. Sample : RowEnterIssue02 Best regards, Madhan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;