Tuesday, June 26, 2012 11:45 AM
I am entering data into an editable data grid and, for example, I want to limit a field to 40 characters because I am printing it to a report and I want the field to be limited in size.
I understand how to set the maximum characters in the validation for a field, but I want to actually cut off the user from typing past the limit. It isn't very user-friendly to just see a validation error saying "whoops, too many characters" and have to figure out how many characters need deleted.
Tuesday, June 26, 2012 11:52 AM
Kindly go through the below thread
For grid you have to use "FindControlInCollection".
Hope this help...
Rashmi Ranjan Panigrahi
If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.
This will help other users to find their answer quickly.