Unplanned
Last Updated: 18 Nov 2024 11:22 by ADMIN
Created by: Luis
Comments: 1
Category: MaskedEditBox
Type: Feature Request
0
Add support for UI Automation in RadMaskedEditBox control.
Unplanned
Last Updated: 04 Jan 2023 13:54 by ADMIN

Use the following code: 

        public RadForm1()
        {
            InitializeComponent();
            this.radMaskedEditBox1.MaskType = MaskType.Numeric;
            this.radMaskedEditBox1.Mask = "n3";

            this.radMaskedEditBox1.ValueChanging+=radMaskedEditBox1_ValueChanging;
        }

        private void RadButton1_Click(object sender, EventArgs e)
        {
            this.Text = this.radMaskedEditBox1.Value + "";
        } 


        private void radMaskedEditBox1_ValueChanging(object sender, CancelEventArgs e)
        {
           e.Cancel = true; 
        }

You will notice that even though the ValueChanging event is cancelled, the Value property is still changed.

Unplanned
Last Updated: 16 Dec 2022 11:03 by ADMIN
I'm getting weird / unexpected behaviour when using the masked edit box configured to handle IP Addresses.

So using the latest Demo Application, I open up the Masked Edit Box, and in the IP edit box I type in 11.22.33.44

I then double click and highlight the 44 part, and type 6 to replace the 44 with a single 6, however the following is displayed



After clicking on OK this then changes to show the ip address as 11.22.33.255 It seems that clicking on 6 does not replace the 44 but gets inserted at the start of the element. Is there a workaround for this behaviour ?