This is a migrated thread and some comments may be shown as answers.

RadMaskedInput Disable Previous Input Cache

4 Answers 73 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Denin
Top achievements
Rank 1
Veteran
Denin asked on 27 May 2020, 02:51 AM

Hello,

 

I have a RadMaskedInput to gather information on a form. I have a button that saves the information on the form, then clears the form. When I click the RadMaskedInput a second time to enter a new value, it uses the a cache of the previously entered value, which I have to delete before I can continue typing or some parts of the previous text will remain with my new text. Is there a way to disable this caching so that that RadMaskedInput never shows previous data that was entered?

 

Thanks.

4 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 29 May 2020, 01:44 PM

Hello Tyson,

By default the RadMaskedInput controls should not be caching their Value property. I am attaching a sample project, where I tested the described scenario, however the Value is cleared as intended. May I ask you to check it out and see how it differs from the setup on your end? 

Should you need any further assistance, can you modify the sample project in order to demonstrate the scenario and send it back in a new support ticket (since project files cannot be attached to forum posts)? This will hopefully allow me to investigate further and better assist you. 

I am looking forward to your reply.  

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Denin
Top achievements
Rank 1
Veteran
answered on 23 Jun 2020, 02:37 AM
Sorry for delays, I took a look at the project and it is for .net 4.5. Apologies, I am using .net core 3.1, so I was unable to try your project.
0
Denin
Top achievements
Rank 1
Veteran
answered on 23 Jun 2020, 02:50 PM
I'm finding that the RadMaskedInput is not a end-user friendly control and I've switched to RadWatermarkTextBox and I'm not having this issue. This post can be deleted/ignored. Thanks.
0
Vladimir Stoyanov
Telerik team
answered on 25 Jun 2020, 11:45 AM

Hello Tyson,

I am glad to hear that the RadWatermarkTextBox is suitable for your scenario. 

Don't hesitate to contact us again, if you have any other questions or concerns.

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Denin
Top achievements
Rank 1
Veteran
Answers by
Vladimir Stoyanov
Telerik team
Denin
Top achievements
Rank 1
Veteran
Share this question
or