Completed
Last Updated: 20 Jan 2023 14:27 by Mark
Release R3 2020
Damien
Created on: 20 Aug 2020 06:50
Category: TextBoxControl
Type: Bug Report
2
TextBoxControl: Disable copy/cut when UseSystemPasswordChar is true

When UseSystemPasswordChar  is set to true, the copy/cut from the text field must be disabled. This includes both keyboard commands (Ctrl+C and Ctrl+X) and context menu on right click.

6 comments
Mark
Posted on: 20 Jan 2023 14:27

Hi Dess,

 

You are correct. Sorry to waste your time. It appears the text must have still been on the clip board already so it looked like it copied it but I was recalling a previous copy when I pasted.

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 20 Jan 2023 09:20

Hello, Mark,

I have tested with the latest version and when the UseSystemPasswordChar property is set to true and the content in RadTextBoxControl is selected, the keys combination Ctrl+C doesn't perform copy operation on my end. If you try pasting after that in Notepad for example, you will notice that the last copied content is pasted. 

I have attached my sample project. Please give it a try and see how it works on your end. Am I missing something? Could you please specify the exact steps how to reproduce the problem? Thank you in advance. 

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Mark
Posted on: 19 Jan 2023 16:41
I'm on version 2022.3.921 and this still seems to be a problem. The cut/copy is disabled in context menu but the keyboard cut/copy still work to extract a password. Is this getting resolved?
ADMIN
Nadya | Tech Support Engineer
Posted on: 17 Sep 2020 11:52

Hello, Damien,

The fix about this issue was introduced in our latest R3 2020 (version 2020.3.915). Could you please make sure that you refer to dlls from the latest version in your project. Sometimes, after an upgrade, the GAC folder may have more that one version. Please refer to the following help article on how to examine the GAC and ensure that there is just the latest version: https://docs.telerik.com/devtools/winforms/knowledge-base/examine-the-gac 

You should carefully check the references to all Telerik controls in your project and make sure that they are the same version considering the suffix as well (.20 or .40). Better yet, you can remove all references and add them anew by using the DLLs from your fresh installation. Delete the license.licx file. After that, you should rebuild your project, close Visual Studio, and open it again to make sure that no references are kept in the memory by Visual Studio.

I hope this information helps.

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Damien
Posted on: 17 Sep 2020 00:11
I have updated to R3 2020 this morning and have tested this with the UseSystemPasswordChar set to true, yet it allows the Ctrl+C to copy the hidden password. What am I missing?
ADMIN
Stoyan
Posted on: 20 Aug 2020 09:11

Hello,

A workaround, until the issue is fixed, would be to disable the context menu in the text field and to clear the clipboard on KeyDown event, when Ctrl+X and Ctrl+C are used.

Regards,
Stoyan
Progress Telerik