C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Validating maxlength of multiline textbox on server


Posted Date: 05 Sep 2008      Total Responses: 2

Posted By: Neha Mathur       Member Level: Silver     Points: 1


Hi !
How to validate the maxlength of multiline textbox(asp textbox) on server side.
I dont want to use javascript's key press for that , since if the user paste something then keypress wouldnot trigger.




Responses

Author: ANIL PANDEY    05 Sep 2008Member Level: DiamondRating:     Points: 2
hi,

then in the text change of the text box u can determine the size of the text box by..

String .lenght()



Regards
Anil Pandey




Author: Geetha    05 Sep 2008Member Level: GoldRating:     Points: 2
Hi,

in the TextChanged event of the textbox compare the textbox maxlenght with the lenght of the text in the text box.

Regards,
Geetha.


Post Reply
You must Sign In to post a response.
Next : How to update data of grid on perious page,on closing the pop up window
Previous : anyone help this issue?
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

web conferencing services

Contact Us    Privacy Policy    Terms Of Use