The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
SRSri Rajan Syncfusion Team May 9, 2008 11:48 PM UTC
Hi Samuel,
Thank you for interest in Syncfusion products.
Here is the sample code which forces the Uppercase entry in a specific column. void gridControl1_CurrentCellKeyPress(object sender, KeyPressEventArgs e) { if (Char.IsLower(e.KeyChar) && this.gridControl1.CurrentCell.ColIndex==1) { SendKeys.Send(e.KeyChar.ToString().ToUpper()); e.Handled = true; } }
Please let me know if this helps.
Best Regards, Srirajan
SAsamuelMay 21, 2008 09:43 AM UTC
hello,
Thank you for your help.
Samuel
SAsamuelJune 12, 2008 08:54 AM UTC
Hello,
Now i would like to force lower case entry in a specified column. the previous solution is good only to force upper case entry. Can you please let me know if this is possible.
Regards Samuel
SRSri Rajan Syncfusion Team June 12, 2008 09:40 AM UTC
Hi Samuel,
Thank you for your continued interest in Syncfusion products.
Here is the sample code which forces the lowercase entry in a specific column. void gridControl1_CurrentCellKeyPress(object sender, KeyPressEventArgs e) { if (Char.IsUpper(e.KeyChar) && this.gridControl1.CurrentCell.ColIndex == 1) { SendKeys.Send(e.KeyChar.ToString()); Console.WriteLine(e.KeyChar); e.Handled = true; } }