Is there any example of how to allow only numeric values on webgrid cell... maybe using javascript?. Using the numeric editors seem to come with more problems than solutions.
I need to allow to enter positive numbers, show the percentage sign while not in edit mode and show only the actual value during edit mode.
Thanks for any help.
Using editors is the best way to accomplish this. WebPercentEdit provides the functionality you've described, when used as an editor provider for a WebGrid column.
Thanks for answering Vince, but one of the problems I have is that I need to be able to show/enter no decimal places. As simple as it sounds it seems that the WebPercentEdit control if forcing me to show always 2 decimal places despite the format I give to the column.