Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Friday, February 21, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
2/21/2025 10:58:49 PM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (
For version 7.2 and higher only
). View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Web Platform & Application Architect
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Textbox MaxLength property
Frank Chaffin
Posts: 475
Textbox MaxLength property
Posted: 20 Mar 08 12:48 PM
Under v7.2.1 the MaxLength property for TextBox object does not seem to work if MultiLine = True.
Has anyone used the property?
[
Reply
][
Quote
]
Steve Knowles
Posts: 657
Re: Textbox MaxLength property
Posted: 21 Mar 08 1:48 PM
I am seeing the same results. A quick google turned up this:
http://www.codeproject.com/KB/custom-controls/textlengthvalidator.aspx
- Looks like an asp.net limitation as opposed to an slx limitation.
Actually what happens is that the asp.net multiline textbox gets rendered as an HTML text area that has no maxlength property. So another method must be used like javascript or this RegularExpressionValidator - where the 200 is the length you want to limit - this control will fire on a postback, so it doesn't actually limit how much people can type but will let them know they typed too much when exiting the control:
(Leading Less sign omited as forum want to render as a tag.)
asp:RegularExpressionValidator ID="txtConclusionValidator1" ControlToValidate="txtAddContactEmail" Text="Exceeding 200 characters" ValidationExpression="^[\s\S]{0,200}$" runat="server" />
[
Reply
][
Quote
]
Frank Chaffin
Posts: 475
Re: Textbox MaxLength property
Posted: 21 Mar 08 3:21 PM
Steve,
Thanks for the information. I guess SLX is off the hook on the one.
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 2/21/2025 11:28:57 PM