Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
3158 | Mar 5,2003 07:40 PM UTC | Mar 6,2003 10:27 AM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
private bool setOnlyOnce = true; private void gridDataBoundGrid1_CurrentCellStartEditing(object sender, System.ComponentModel.CancelEventArgs e) { GridTextBoxControl tb = (GridTextBoxControl)this.gridDataBoundGrid1.CellRenderers["TextBox"].Control; if(tb != null && setOnlyOnce) { tb.ContextMenu = this.contextMenu1; setOnlyOnce = false; } }
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.