I have a Visual Studio 2010 ASp.Net page with a gridview control.
The gridview control is bound to a Object Data Source.
My problem is that a user can type to many chacters into a gridview cell for a string
and hit 'update'. I want to prevent a user from typing in more than the maximum number of
characters for the text field. I expected to see a maximum length property associated with
the column within the 'Edit Columns' option of the gridview but there isn't one.
What is the recommended approach to limiting a string size in a gridview bound to an Object data Source?
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.
The gridview control is bound to a Object Data Source.
My problem is that a user can type to many chacters into a gridview cell for a string
and hit 'update'. I want to prevent a user from typing in more than the maximum number of
characters for the text field. I expected to see a maximum length property associated with
the column within the 'Edit Columns' option of the gridview but there isn't one.
What is the recommended approach to limiting a string size in a gridview bound to an Object data Source?
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.