Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
16395 | Jul 14,2004 01:47 PM UTC | Jul 16,2004 11:37 AM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
this.gridCashFlow[1, 1].CellType = "OriginalTextBox";
this.gridCashFlow[1, 1].CharacterCasing = CharacterCasing.Upper;
The "OriginalTextBox" is derived from System.Windows.Forms.TextBox which supports this property, but the default "TextBox" celltype is derived from RichTextBox which does not.
gbc.StyleInfo.CellType = "OriginalTextBox";
gbc.StyleInfo.CharacterCasing = CharacterCasing.Upper;
where gbc is either grid.GridBoundColumns["somecol"] or grid.Binder.InternalColumns["somecol"] depending upon where you have or have not explicitly added GridBoundColumns to your grid.
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.