RadMaskedTextBox and IP Address format.

6 posts, 0 answers
  1. Steve Wolfe
    Steve Wolfe avatar
    21 posts
    Member since:
    Nov 2009

    Posted 21 Dec 2009 Link to this post


    Does anyone know of a mask or a way to have the standard IP Address mask NOT require entering the leading 0s, i.e. instead of

    <telerik:RadMaskedTextBox ID="RadMaskedTextBox2" Runat="server" Mask="<0..255>.<0..255>.<0..255>.<0..255>">  

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 Dec 2009 Link to this post

    Hello Steve,

    Try setting the 'ZeroPadNumericRanges' property to "false" in order to remove the leading zeroes in the RadMaskedTextBox.

  3. Steve Wolfe
    Steve Wolfe avatar
    21 posts
    Member since:
    Nov 2009

    Posted 22 Dec 2009 Link to this post


    Thanks for the suggestion, but not quite right.  After setting the ZeroPadNumericRanges="false" property.  The input control looks like: __0.__0.__0.__0, and still requires one to type in all 3 digits, or cursor over to the correct one.

  4. Dimo
    Dimo avatar
    8443 posts

    Posted 23 Dec 2009 Link to this post

    Hi Steve,

    Indeed, this is the way to control works currently. Sorry if this causes you inconvenience. We may research and consider implementing a more flexible behavior in the future.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. miksh
    miksh avatar
    282 posts
    Member since:
    Nov 2006

    Posted 07 May 2014 in reply to Dimo Link to this post

    Any chance to get it fixed?
  6. Vasil
    Vasil avatar
    1625 posts

    Posted 09 May 2014 Link to this post

    Hello Michael,

    We didn't have many requests on this functionality, so it was never scheduled for implementation.
    I have logged this in our feedback portal:
    You can vote it up, and we will try to implement it in future.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top