I want to bring a custom control that inherits from RasMaskedEditBox. But onKeyDown and OnKeyPress events do not fired.
public class myMask: Radmaskededitbox
protected override void OnKeyDown(KeyEventArgs e)
RasMaskedEditBox internally hosts the standard MS TextBox. Hence, it handles the keyboard input. The following code snippet demonstrates how to handle the KeyDown event in the hosted control:
private void TextBoxControl_KeyDown(object sender, KeyEventArgs e)
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
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.