I have been developing an application in asp.net mvc3. We have used models to display view and save model values to database. I came up with a requirement where in the user interface if user enters 50000 we need to format the value and display it in format 50, 000.
It is not possible for textbox that displays integer values to have value of 50,000. We have used model validation to do this thing. So it won't allow me to have 50,000 in the textbox. Unobtrusive javascript would instantly show error message and make the textbox red.
How can i achieve this functionality, please guide me.