Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
25683 | Mar 3,2005 06:05 PM UTC | Mar 3,2005 08:02 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
private void Model_PasteCellText(object sender, GridPasteCellTextEventArgs e) { try { this.gridDataBoundGrid1[e.RowIndex, e.ColIndex].Text = e.Text; e.Cancel = true; //cancel it as you did the paste } catch { //don''t show the message this.gridDataBoundGrid1.CurrentCell.ErrorMessage = ""; e.Cancel = true; //as it cannot be done //e.Abort = true;//if you want to stop pasting rest of cells } }
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.
This page will automatically be redirected to the sign-in page in 10 seconds.