We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

51877 Nov 15,2006 08:30 PM UTC Nov 22,2006 08:10 PM UTC Windows Forms 2
loading
Tags: EditControl
David Union
Asked On November 15, 2006 08:30 PM UTC

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.


Administrator [Syncfusion]
Replied On 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

David Union
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;