We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

MaskedEditBox-

Thread ID:

Created:

Updated:

Platform:

Replies:

52357 Nov 27,2006 10:03 AM Dec 7,2006 09:01 PM Windows Forms 7
loading
Tags: EditControl
Administrator [Syncfusion]
Asked On November 27, 2006 10:03 AM

How to set mask for entering both positive and negative number in a masked edit box

Anupama Roy [Syncfusion]
Replied On November 28, 2006 05:34 AM

Hi Shankar,


MaskedEditBox has the MinValue and MaxValue properties that can be enforced when the UsageMode of the MaskedEditBox is set to Numeric.Currently the MinValue is set to be 0 internally and it does not support negative values with current architecture.However,we can extend the functionality to support negative values too.

For positive numbers you,can set the Mask property to #.You can find more information on Masks from the below given link.

http://www2.syncfusion.com/library/classref/Syncfusion.Windows.Forms.Tools.MaskedEditBox.Mask.html



I have logged a feature request in order to support negative numbers.And you can track the progress of implementation through the below given link.

http://www.syncfusion.com/support/features/tools/Default.aspx?ToDo=view&questId=1378

Thanks for choosing Syncfusion products.

Regards,

Anu.

Shankar Ramasubramanian
Replied On November 28, 2006 09:20 AM

I tried NumericTextBox to input both positive and negative number. But the control won't let me input a decimal. I have set all applicable properties. Is this a bug??

Anupama Roy [Syncfusion]
Replied On November 28, 2006 11:54 PM


Hi Shankar,

I am afraid,the details given above is for windows control.The control NumericTextBox comes under Web Tools and I have requested the respective product engineer to update you.

Best Regards,

Anu.


Shankar Ramasubramanian
Replied On November 29, 2006 09:27 AM

Thanks. I didn't realize it's web control. Thanks

Shankar

Administrator [Syncfusion]
Replied On November 29, 2006 06:33 PM

Hi Shankar,
I am able to see the NumericTextBox negative input issue. It seems to be a bug, we will look more on this and will update you with more details soon.
I have opened a feature request for extend the Mask functionality to allow only Real numbers.
We will inform you as soon as this feature request is addressed.
Thank you for using syncfusion controls.
Regards,
Sureshsekaran.

Administrator [Syncfusion]
Replied On December 5, 2006 09:10 PM

Hi Shankar,

Sorry for the delay in getting back you.

I have logged a bug report for Numeric TextBox negative input issue.We will try to fix this at the earliest.

Thank you for your patience.

Regards,
Sureshsekaran.

Administrator [Syncfusion]
Replied On December 7, 2006 09:01 PM

Hi Shankar,

Sorry for the delay in get back to you.

If usage mode property of Masked Edit Text Box is set to 'Numeric',the control will allow only numbers.By defining MaxValue and MinValue property, we can set the requirred mask which is illustrated in the sample.

NumericMask.zip

Please let me know if you need further assistance.

Regards,
Sureshsekaran.

CONFIRMATION

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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;