Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
15720 | Jun 25,2004 11:43 AM UTC | Jun 25,2004 12:38 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
''in formload
AddHandler Me.GridDataBoundGrid1.Model.PasteCellText, AddressOf gridModel_PasteCellText
''the handler Private Sub gridModel_PasteCellText(ByVal sender As Object, ByVal e As GridPasteCellTextEventArgs) If e.RowIndex = 2 Then ''dont paste into row 2 e.Cancel = True End If End Sub
>''in formload
> AddHandler Me.GridDataBoundGrid1.Model.PasteCellText, AddressOf gridModel_PasteCellText
>
>
>>''the handler >Private Sub gridModel_PasteCellText(ByVal sender As Object, ByVal e As GridPasteCellTextEventArgs) > If e.RowIndex = 2 Then ''dont paste into row 2 > e.Cancel = True > End If > End Sub >
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.