Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Unbound field accepting integers, best way to validate input
posted

Hi 

I've noticed with numeric editor providers when a user tries to enter char values it is disallowed. I've got an unbound field on a grid which I need to accept an integer value only. I've applied a numeric editor provider but I get an error when the page loads

System.Exception: Editor with ID: nepOrdinal cannot edit column with Key:OrdinalUnbound. The editor does not support the column type.

If I comment out the editor the page loads fine. 

I can run the page without an editor provider but then I have to validate the input server side and its not as nice / slick if the editor allows text.