MaxLength not work

6 posts, 0 answers
  1. Daniel
    Daniel avatar
    3 posts
    Member since:
    Jan 2011

    Posted 15 Feb 2011 Link to this post


    I tried using the function MaxLength and have not had success already perform various searches on Telerik forum and found several workarounds but none of them worked.

    I am very concerned as a feature as basic controls does not work in package Telerik.

    I would like a response from someone in the development team about this feature Telerik who apparently does not work.

  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 15 Feb 2011 Link to this post

    Hello Daniel,

    You haven't mentioned which control you are trying to use, or the version that you are using. If you ccan let me know I will do my best to help
    Thanks
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Daniel
    Daniel avatar
    3 posts
    Member since:
    Jan 2011

    Posted 15 Feb 2011 Link to this post

    Hello Richard,

    RadMaskedEditBox

    Telerik WinForms VSExtensions   2010.03.1214.0
    Telerik RadControls for WinForms VSExtensions Package

    Thank
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 15 Feb 2011 Link to this post

    Hi,

    This works fine for me,
    Me.RadMaskedEditBox1.Mask = ""
    Me.RadMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.None
    Me.RadMaskedEditBox1.MaxLength = 2 ' or Me.RadMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.MaxLength = 2
    but it may be that I don't know enough about your scenario. If this is not what you mean, then please give me fuller details and I'll be happy to help
    Thanks
    Richard
  6. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 16 Feb 2011 Link to this post

    Hi Daniel,

    If you need further help with this, please let me know. If this helped, please remember to mark as answer
    Thanks
    Richard
  7. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 18 Feb 2011 Link to this post

    Hi guys, 

    Thank you for writing.

    @Daniel - Richard's suggestion is the correct way of setting the MaxLenght for RadMaskedEditBox. Should you have any other questions, do not hesitate to contact us.

    @Richard, congratulations on the new status :)
     
    Greetings,
    Stefan
    the Telerik team
Back to Top
UI for WinForms is Visual Studio 2017 Ready