Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
5461 | Jul 3,2003 12:57 PM UTC | Jul 8,2003 10:27 PM UTC | WinForms | 10 |
![]() |
Tags: GridControl |
private void gridControl1_CurrentCellValidating(object sender, System.ComponentModel.CancelEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; if(cc.Renderer is GridComboBoxCellRenderer && cc.Renderer.ControlText == "") { cc.CancelEdit(); this.gridControl1[cc.RowIndex, cc.ColIndex].Text = ""; } }
> private void gridControl1_CurrentCellValidating(object sender, System.ComponentModel.CancelEventArgs e) > { > GridCurrentCell cc = this.gridControl1.CurrentCell; > if(cc.Renderer is GridComboBoxCellRenderer && cc.Renderer.ControlText == "") > { > cc.CancelEdit(); > this.gridControl1[cc.RowIndex, cc.ColIndex].Text = ""; > } > } >>
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.