Best way to set the maximum line length a user may enter without a CRLF

I'd like to restrict the maximum line length while still allowing them to control the wordwrap/non-wordwrap, for example to a maxium of 255 characters.


2 Replies

AD Administrator Syncfusion Team November 22, 2006 11:41 AM UTC

Hi dunion,

Our apologies for the delayed response. It is possible to restrict the maximum line length to 255 characters using the TextChanging event. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thanks for your patience.

Regards,
Ebenezer.P

sample


DU David Union November 22, 2006 08:10 PM UTC

Thanks, this looks good, I'll look over this over the weekend. This has given me some ideas for possibly dealing with some of the other issues I have also. I'll know more after I have some time to do some testing.


>Hi dunion,

Our apologies for the delayed response. It is possible to restrict the maximum line length to 255 characters using the TextChanging event. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thanks for your patience.

Regards,
Ebenezer.P

sample

Loader.
Up arrow icon