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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataboundGrid Cell Button

Thread ID:





17132 Aug 2,2004 12:36 PM UTC Aug 2,2004 02:36 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On August 2, 2004 12:36 PM UTC

Hi, I have a button column on my databound grid that when pushed I retrieve the row and column index to print a related document. The problem is that I am using Me.Grid.CurrentCell to get the current row index, if the user doesnt click somewhere else in the row before clicking the button then the currently selected cell is the top row causing the wrong document to be printed. Is there a way I can detect the row at which the current button is being clicked or move the selcted row immeadiatly the button is clicked? Thanks, Mark (vb.net)

Administrator [Syncfusion]
Replied On August 2, 2004 02:36 PM UTC

Are you handling the grid.CellButtonClicked event to get the click on the cell. If so, the e.RowIndex value should hold the row index of the clicked cell.


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