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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problems with grid & menu

Thread ID:





40357 Feb 1,2006 11:48 AM UTC Feb 2,2006 10:48 AM UTC WinForms 2
Tags: GridControl
Christian Pogea
Asked On February 1, 2006 11:48 AM UTC

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 09:09 AM UTC

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 10:48 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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