This is a migrated thread and some comments may be shown as answers.

Limit the GridviewDecimalColumn text length or maxlength inside a gridview cell

0 Answers 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lokesh
Top achievements
Rank 1
Lokesh asked on 12 Mar 2015, 09:47 AM
Hello,
     I am using a radgridview in which I am adding a gridviewdecimalcolumn, but I want to restrict the user from entering the specific number of decimals.
Eg: If I am having a column and I enter the value for it '123456789' then it gets entered while if i want to restrict the user to enter the value only upto 3 places i.e 123 it isn't possible as in if I am giving the maximum then it changes to 999 but I don't want it like that I want that if the user enters the value as '333' then it should get entered only upto that number of decimal places after that if the user enters any number it should not get displayed or entered.So how to do this?

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Lokesh
Top achievements
Rank 1
Share this question
or