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.
Hey there
I seem to have a problem making my grid work. I am trying to make a simple masked shorttime field (##:##) but the grid keeps prompting : Length cannot be less than zero. Parameter name: length
The field should be able to contain ex. 12:29. See sourcecode.
this.Frakl = new GridBoundColumn();
this.Frakl.HeaderText = "FraKl";
this.Frakl.MappingName = "FraKl";
this.Frakl.StyleInfo.CellType = "MaskEdit";
this.Frakl.StyleInfo.MaskEdit.Mask = "##:##";
this.Frakl.StyleInfo.FloatCell = false;
this.Frakl.StyleInfo.MaskEdit.ClipMode = Syncfusion.Windows.Forms.Tools.ClipModes.IncludeLiterals;
Please help
/Kenneth
ADAdministrator Syncfusion Team June 3, 2004 03:17 AM
I don''t see the problem in this sample using version 2.0.5.1. Do you? What are you doing differently?
MaskEditInForum_6300.zip
KEKenneth ErtmannJune 3, 2004 10:34 AM
Hi there... I am using v. 1.6.
Could this be why i am having difficulty using masks?
Thanks for a quick reply.
/Kenneth
>I don''t see the problem in this sample using version 2.0.5.1. Do you? What are you doing differently?
>
>MaskEditInForum_6300.zip
>
>
ADAdministrator Syncfusion Team June 3, 2004 10:53 AM
The sample from above works OK for me in 1.6.1.8 (just comment out the two lines that give syntax error when you try to compile it).
Does it work not for you?