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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Refresh problem in DataBoundGrid

Thread ID:





16074 Jul 6,2004 06:19 AM UTC Jul 6,2004 08:46 AM UTC WinForms 3
Tags: GridControl
Asked On July 6, 2004 06:19 AM UTC

Clay, No problem while inserting a row at end. but my requirement is something diffeernt. I would like to add record in between. Example. I have databoundgrid with 10record Click on ''Add Record'' button it should add the record. I have seen many sample where record will always be inserted at the end. But my reqiremnt is i need to insert record in between. I am using DataTable Here is the snipet. frmInsertRows insertRow = new frmInsertRows(); if (insertRow.ShowDialog() == DialogResult.OK) { int curPos = this.dbgrdSummaryMaster.Binder.CurrentPosition + 1; int numRows = 10; bool valueExist=false; //Check for every column in the Column for (int colCount=0;colCount

Administrator [Syncfusion]
Replied On July 6, 2004 07:30 AM UTC

You have to to more more to get the inserts to function well. There is a sample in this thread. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16001

Replied On July 6, 2004 08:25 AM UTC

Clay, I have tried this code. Not working. My problem is I am able to insert a record in between the grid but when i start typing and click on Enter. The text whatever I enterd in that cell will go last row. why is it?? Thanks Satish >You have to to more more to get the inserts to function well. There is a sample in this thread. >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16001

Administrator [Syncfusion]
Replied On July 6, 2004 08:46 AM UTC

The sample in that thread allows you to insert a new row. It has a RowEnter event handler that is not in the code you listed. Did you add a RowEnter event like the one in the thread? Can you post the sample using the suggested forum thread code not working?


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

Live Chat Icon For mobile
Live Chat Icon