More flexible masked edit - feature request

2 posts, 0 answers
  1. Steve
    Steve avatar
    1 posts
    Member since:
    Jun 2010

    Posted 28 Jun 2010 Link to this post

    I hope this is the right forum for this.  I posted a separate thread for

    It would be really nice if the RadMaskedEdit control provided the ability to implement custom behavior based on fields where a field is defined as the region between two mask delimiter characters.   That is, say my mask is "##:##:##".  Then my delimiter is the colon (:) and there are three fields.

    I'd like to be able to extract or replace any of the three fields.  Something like this method:
    Get/SetFieldText - Get/Set text in the field that includes the current SelectionStart position.

    Alternatively, be able to pass the position you want the field for (e.g. GetFieldText(0) for getting the text in the 1st field).  I would think that ideally the integer represent the field# (e.g. above I could say either GetFieldText(0), GetFieldText(1) or GetFieldText(2) to get field 1, 2 and 3 respectively.

    It might also be useful to expose a Get/SetFieldPos method to get the field # for the current selection start.

    Note: I would think that there would need to be some ability to warn the user if the selection spans multiple fields. Maybe raise an exception or make this an optional property to indicate (IgnoreIfSpanningFields - probably not the ideal solution but you get the idea).

    Having these methods, I could override the KeyUp/KeyDown behavior to whatever I wanted.  For example, if I knew I had numbers in a given field, I could use KeyUp/Down to increment/decrement the value by 1 and Shift+KeyUp/Down to incr/decr by 5.

  2. Georgi
    Georgi avatar
    296 posts

    Posted 02 Jul 2010 Link to this post

    Hi Steve,

    Thank you very much for your detailed feature request.

    Indeed, that would be a nice-to-have add-on to our suite and we will do our best to address it in some of our next releases. I have logged your feature request in our Public Tracking System (PITS) where you can track its progress.

    I have updated your Telerik points as a token of our gratitude for your feedback.

    Kind regards,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top