HI,
For UltraWinGrid - IntegerNonNegative field MaxLength is not working. By default its taking 10 as maxlength. For normal fields its working.
Here is the code
ugMasterGrid.DisplayLayout.Bands[0].Columns["RoleNumber"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.IntegerNonNegative;
ugMasterGrid.DisplayLayout.Bands[0].Columns["RoleNumber"].MaxLength = 5;
Please help me regarding this.
Regards,
G.Mallikarjuna.
That column style causes the column to use a number mask, and the editor used when masking is enabled does not honor the MaxLength property, because length restrictions are enforced by the mask. You can get a numeric mask that restricts input to no more than 5 characters and does not allow negative values by setting the MaskInput property to "nnnnn".