Approved
Last Updated: 21 Mar 2018 11:25 by ADMIN
ADMIN
Martin Ivanov
Created on: 21 Mar 2018 11:25
Category: MaskedInput
Type: Feature Request
0
MaskedInput: Introduce a virtual method called when you copy the value to the clipboard
The method should be called after the text that should be copied to the clipboard is extracted. In its original implementation it should only set the text to the clipboard. You should be able to override it and replace the text or use different method for copying into the clipboard.

For example:
public class CustomMaskedInputControl : RadMaskedDateTimeInput
{
    protected override void SaveTextToClipboard(string text)
    {
        Clipboard.SetDataObject(text);
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments