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.
Syncfusion Feedback

Bug in ErrorProvider?

Thread ID:

Created:

Updated:

Platform:

Replies:

34007 Aug 31,2005 06:41 AM UTC Aug 31,2005 12:13 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 31, 2005 06:41 AM UTC

Hi together, I have a gridgrouping control which is bound to a dataset object (containing two tables). I have attached a sample project. Now when I try the following procedure I get an grid exception: Error Description: 1. Collapse table "Test 1" and table "Test 2". 2. Now enter a new value in column "A" of table "Test 1" and press enter. 3. You should get an error message that column "B" doesn''t allow nulls (that''s ok). Press ok. 4. Now press the cursor down key (directly after the step before)! (table "Test 2" should be highlighted). 5. Now try again to enter something in column "A" of table "Test 1" -> you should get an exception - something like this: catched at Syncfusion.Windows.Forms.Grid.GridOriginalTextBoxControl.WndProc(Message& msg) in :line 0 catched at Syncfusion.Windows.Forms.Grid.GridCurrentCell.ConfirmChanges(Boolean closeDropDown) in :line 0 Any ideas what''s wrong? Cheers, Markus GridException_8160.zip

Administrator [Syncfusion]
Replied On August 31, 2005 12:13 PM UTC

I think this is a defect, but will have to confirm this through the grid architect. Until there is a release with this corrected, I think you can avoid the problem using some events. Here is a try at this. http://www.syncfusion.com/Support/user/uploads/GridException_a9ca5095.zip TableControlCurrentCellControlKeyMessage is used to handle the Enter key which is switched to a tab key. TableControlCurrentCellKeyDown is used to handle the up and down keys. CurrentRecordContextChanged is used to validate the cell as you move from cell to cell, and cancels bad moves before the grid does them.

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.

Warning Icon 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.Close Icon

;