Limit the GridviewDecimalColumn text length or maxlength inside a gridview cell

1 posts, 0 answers
  1. Lokesh
    Lokesh avatar
    4 posts
    Member since:
    Sep 2014

    Posted 12 Mar 2015 Link to this post

    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?
Back to Top