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.

Problems with grid & menu

Thread ID:





40357 Feb 1,2006 06:48 AM Feb 2,2006 05:48 AM Windows Forms 2
Tags: GridControl
Christian Pogea
Asked On February 1, 2006 06:48 AM

i got a form with 3 master detail grids. a save button. and a menu bar item with the same code as the save button. but if i click on the save menu bar item, i got this exception: System.IndexOutOfRangeException: An der Position 0 befindet sich keine Zeile. at System.Data.DataView.GetRecord(Int32 recordIndex) at System.Data.DataView.IsOriginalVersion(Int32 index) at System.Data.DataRowView.SetColumnValue(DataColumn column, Object value) at System.Data.DataColumnPropertyDescriptor.SetValue(Object component, Object value) at Syncfusion.Windows.Forms.Grid.GridModelDataBinder.EndEdit() at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.EndEdit() what is the diffrent between a button and a menubaritem? i also fire a EndCurrentEdit on my save method, but without any success. i use syncfusion with vs 2003 / .net 1.1

Administrator [Syncfusion]
Replied On February 2, 2006 04:09 AM

Hi Christian, Try Binder.EndEdit(); aftere CurrentCell.EndEdit(); But still I am not getting any exception as mentioned. Can you see the issue in the attached sample? Regards, Calvin.


Christian Pogea
Replied On February 2, 2006 05:48 AM

Binder.EndEdit(); has solved the problem. thanks, bye


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.