Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Editors (TextBox, MaskedEdit, SpinEditor, BrowseEditor, ColorBox) > Currency Mask Question

Not answered Currency Mask Question

Feed from this thread
  • Guy avatar

    Posted on Nov 16, 2011 (permalink)

    Hi all,

    I'm using several MaskedTextBoxes and have the Mask property set to "C" for currency and the MaskType set to Numeric. This works fine however I cannot seem to enter a value higher than 9.99.

    I have looked for a solution online but can only find how to change the number of decimal places "C3" for example.

    Is this possible? Should I be using a custom Mask of some kind?

    Regards,


    Guy

    Reply

  • Guy avatar

    Posted on Nov 17, 2011 (permalink)

    It appears there was a conflict between having a null value and first selecting the field where the max value would be 9.99. If I was to move the cursor to the far left it would allow me write longer numbers.

    I have gotten around my issue by having default values in of 0.00 and using the following code to highlight the values to ensure that they are overwritten.

    void radMaskedEditBox1_MouseUp(object sender, MouseEventArgs e)
            {
                this.radMaskedEditBox1.SelectAll();
            }


    Please mark this as answered as I'm now happy with the above solution.

    Regards,

    Guy

    Reply

  • Peter Peter admin's avatar

    Posted on Nov 18, 2011 (permalink)

    Hello Guy,

    We are aware of this issue and we provided a fix for it in our latest release Q3 2011.

    I hope this helps.

    Regards,
    Peter
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Editors (TextBox, MaskedEdit, SpinEditor, BrowseEditor, ColorBox) > Currency Mask Question
Related resources for "Currency Mask Question"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]