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.
Hi all,
I´ve a problem with the MaskedEditBox. I want to use the MaskedEditBox for editing ip addresses. So I initialized the control as follows:
Mask = @"###\.###\.###\.###";
UsageMode = MaskedUsageMode.Numeric;
DecimalSeparator = '.';
MinValue = (decimal)0;
MaxValue = (decimal)255;
My problem: the MaxValue seems to relate only on the first three digits (the first field of four). But I want it logical separate on all four fields.
Could anyone help me?
DJDavis Jebaraj Syncfusion Team July 14, 2003 06:35 PM UTC
Hi,
The MaxValue and MinValue properties are not supported for sections of the Mask. It is possible to achieve the kind of validation you need by handling the MaskCustomValidate event. However, to make the parsing of the content easier, I have made a minor change to the MaskedEditBox control that is not available in the publicly available versions. I will send you a sample along with the modified version so that you use that till the next update is released. I will send the sample to you by tomorrow.
Thank you for your patience.
Regards,
Davis
> Hi all,
>
> I´ve a problem with the MaskedEditBox. I want to use the MaskedEditBox for editing ip addresses. So I initialized the control as follows:
>
> Mask = @"###\.###\.###\.###";
> UsageMode = MaskedUsageMode.Numeric;
> DecimalSeparator = '.';
> MinValue = (decimal)0;
> MaxValue = (decimal)255;
>
> My problem: the MaxValue seems to relate only on the first three digits (the first field of four). But I want it logical separate on all four fields.
>
> Could anyone help me?
DJDavis Jebaraj Syncfusion Team July 15, 2003 05:59 PM UTC
Hi,
The attached sample shows how to implement a IP Address control using the MaskCustomValidate event. You will need to install the latest version 1.6.1.3 for this to work:
To see the Readme / release notes, see: http://www.syncfusion.net/squiffler/patches/v1613/readme.htm
If you have version 1.6.1.2 you can get the patch from : http://www.syncfusion.net/squiffler/patches/v1613/es_1.6.1.2_to_1.6.1.3_sp.exe
If you have version 1.6.1.1 you can get the patch from : http://www.syncfusion.net/squiffler/patches/v1613/es_1.6.1.1_to_1.6.1.3_sp.exe
If you have version 1.6.1.0 you can get the patch from : http://www.syncfusion.net/squiffler/patches/v1613/es_1.6.1.0_to_1.6.1.3_sp.exe
To download the full install, use: http://www.syncfusion.net/squiffler/patches/v1613/syncfusionessentialsuitesetup.exe
Regards,
Davis
ERERobishawApril 17, 2007 02:49 PM UTC
The example link in the previous post is broken...
any way it could be reposted?
MUMurugan Syncfusion Team April 20, 2007 06:56 PM UTC
Hi Eric,
Sorry for the inconvenience caused. Here is the link to the attachment. Please refer to this and let me know if it helps you.