This is a migrated thread and some comments may be shown as answers.

MaxLength not work

5 Answers 144 Views
MaskedEditBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 15 Feb 2011, 06:05 PM


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.

5 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 15 Feb 2011, 06:10 PM
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
0
Daniel
Top achievements
Rank 1
answered on 15 Feb 2011, 07:22 PM
Hello Richard,

RadMaskedEditBox

Telerik WinForms VSExtensions   2010.03.1214.0
Telerik RadControls for WinForms VSExtensions Package

Thank
0
Richard Slade
Top achievements
Rank 2
answered on 15 Feb 2011, 08:28 PM
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
0
Richard Slade
Top achievements
Rank 2
answered on 16 Feb 2011, 03:05 PM
Hi Daniel,

If you need further help with this, please let me know. If this helped, please remember to mark as answer
Thanks
Richard
0
Stefan
Telerik team
answered on 18 Feb 2011, 08:46 AM
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
Tags
MaskedEditBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Daniel
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or